Merge pull request #310 from Arkshine/update-latest-amtl-refptr
Update to the latest AMTL - Rename Ref to RefPtr.
This commit is contained in:
commit
47f66a3d13
@ -161,7 +161,7 @@ bool CDirectory::IsValid()
|
||||
/* Library Code */
|
||||
/****************/
|
||||
|
||||
CLibrary::CLibrary(ke::Ref<ke::SharedLib> lib) : lib_(lib)
|
||||
CLibrary::CLibrary(ke::RefPtr<ke::SharedLib> lib) : lib_(lib)
|
||||
{}
|
||||
|
||||
void CLibrary::CloseLibrary()
|
||||
@ -209,7 +209,7 @@ CDirectory *LibrarySystem::OpenDirectory(const char* path)
|
||||
|
||||
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)
|
||||
{
|
||||
|
@ -119,7 +119,7 @@ class CLibrary
|
||||
{
|
||||
public:
|
||||
|
||||
CLibrary(ke::Ref<ke::SharedLib> lib);
|
||||
CLibrary(ke::RefPtr<ke::SharedLib> lib);
|
||||
|
||||
public:
|
||||
|
||||
@ -128,7 +128,7 @@ class CLibrary
|
||||
|
||||
private:
|
||||
|
||||
ke::Ref<ke::SharedLib> lib_;
|
||||
ke::RefPtr<ke::SharedLib> lib_;
|
||||
};
|
||||
|
||||
class LibrarySystem
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit c35532ced5e7e4f882106857bfae8f3db0fbacf0
|
||||
Subproject commit 0011210ae353d38c75ae9405fee8941bb074a3a9
|
Loading…
Reference in New Issue
Block a user