Merge pull request #310 from Arkshine/update-latest-amtl-refptr

Update to the latest AMTL - Rename Ref to RefPtr.
This commit is contained in:
Vincent Herbet 2015-11-23 20:17:27 +01:00
commit 47f66a3d13
3 changed files with 5 additions and 5 deletions

View File

@ -161,7 +161,7 @@ bool CDirectory::IsValid()
/* Library Code */ /* Library Code */
/****************/ /****************/
CLibrary::CLibrary(ke::Ref<ke::SharedLib> lib) : lib_(lib) CLibrary::CLibrary(ke::RefPtr<ke::SharedLib> lib) : lib_(lib)
{} {}
void CLibrary::CloseLibrary() void CLibrary::CloseLibrary()
@ -209,7 +209,7 @@ CDirectory *LibrarySystem::OpenDirectory(const char* path)
CLibrary* LibrarySystem::OpenLibrary(const char* path, char* error, size_t maxlength) CLibrary* 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) if (!lib)
{ {

View File

@ -119,7 +119,7 @@ class CLibrary
{ {
public: public:
CLibrary(ke::Ref<ke::SharedLib> lib); CLibrary(ke::RefPtr<ke::SharedLib> lib);
public: public:
@ -128,7 +128,7 @@ class CLibrary
private: private:
ke::Ref<ke::SharedLib> lib_; ke::RefPtr<ke::SharedLib> lib_;
}; };
class LibrarySystem class LibrarySystem

@ -1 +1 @@
Subproject commit c35532ced5e7e4f882106857bfae8f3db0fbacf0 Subproject commit 0011210ae353d38c75ae9405fee8941bb074a3a9