From 02ac6fa2d702c6023a1e3f9ec7876b16ed5a469f Mon Sep 17 00:00:00 2001 From: Arkshine Date: Mon, 23 Nov 2015 14:27:26 +0100 Subject: [PATCH] Update to the latest AMTL - Rename Ref to RefPtr. --- amxmodx/CLibrarySys.cpp | 4 ++-- amxmodx/CLibrarySys.h | 4 ++-- public/amtl | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/amxmodx/CLibrarySys.cpp b/amxmodx/CLibrarySys.cpp index 5330a944..7b3c1340 100644 --- a/amxmodx/CLibrarySys.cpp +++ b/amxmodx/CLibrarySys.cpp @@ -161,7 +161,7 @@ bool CDirectory::IsValid() /* Library Code */ /****************/ -CLibrary::CLibrary(ke::Ref lib) : lib_(lib) +CLibrary::CLibrary(ke::RefPtr 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 lib = ke::SharedLib::Open(path, error, maxlength); + ke::RefPtr lib = ke::SharedLib::Open(path, error, maxlength); if (!lib) { diff --git a/amxmodx/CLibrarySys.h b/amxmodx/CLibrarySys.h index ae919f9b..32cf775f 100644 --- a/amxmodx/CLibrarySys.h +++ b/amxmodx/CLibrarySys.h @@ -119,7 +119,7 @@ class CLibrary { public: - CLibrary(ke::Ref lib); + CLibrary(ke::RefPtr lib); public: @@ -128,7 +128,7 @@ class CLibrary private: - ke::Ref lib_; + ke::RefPtr lib_; }; class LibrarySystem diff --git a/public/amtl b/public/amtl index c35532ce..0011210a 160000 --- a/public/amtl +++ b/public/amtl @@ -1 +1 @@ -Subproject commit c35532ced5e7e4f882106857bfae8f3db0fbacf0 +Subproject commit 0011210ae353d38c75ae9405fee8941bb074a3a9