Update to the latest AMTL - Rename Ref to RefPtr.

This commit is contained in:
David Anderson
2015-11-08 13:14:57 -08:00
parent ce25a44e00
commit e2b399b8d3
21 changed files with 44 additions and 44 deletions
+2 -2
View File
@@ -41,7 +41,7 @@
LibrarySystem g_LibSys;
CLibrary::CLibrary(ke::Ref<ke::SharedLib> lib)
CLibrary::CLibrary(ke::RefPtr<ke::SharedLib> lib)
: lib_(lib)
{
}
@@ -241,7 +241,7 @@ void LibrarySystem::CloseDirectory(IDirectory *dir)
ILibrary *LibrarySystem::OpenLibrary(const char *path, char *error, size_t maxlength)
{
ke::Ref<ke::SharedLib> lib = ke::SharedLib::Open(path, error, maxlength);
ke::RefPtr<ke::SharedLib> lib = ke::SharedLib::Open(path, error, maxlength);
if (!lib)
return nullptr;
return new CLibrary(lib);