Update to the latest AMTL - Rename Ref to RefPtr.
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
@@ -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
|
||||||
|
Submodule public/amtl updated: c35532ced5...0011210ae3
Reference in New Issue
Block a user