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
+3 -3
View File
@@ -689,7 +689,7 @@ void CoreProviderImpl::InitializeBridge()
MATCHMAKINGDS_SUFFIX,
MATCHMAKINGDS_EXT);
if (ke::Ref<ke::SharedLib> mmlib = ke::SharedLib::Open(path, NULL, 0)) {
if (ke::RefPtr<ke::SharedLib> mmlib = ke::SharedLib::Open(path, NULL, 0)) {
this->matchmakingDSFactory =
mmlib->get<decltype(sCoreProviderImpl.matchmakingDSFactory)>("CreateInterface");
}
@@ -789,9 +789,9 @@ CoreProviderImpl::DefineCommand(const char *name, const char *help, const Comman
};
ConCommand *cmd = new ConCommand(new_name, ignore_callback, new_help, flags);
ke::Ref<CommandHook> hook = AddCommandHook(cmd, callback);
ke::RefPtr<CommandHook> hook = AddCommandHook(cmd, callback);
ke::Ref<CommandImpl> impl = new CommandImpl(cmd, hook);
ke::RefPtr<CommandImpl> impl = new CommandImpl(cmd, hook);
commands_.append(impl);
}