Update to the latest AMTL: remove PassRef.

This commit is contained in:
David Anderson
2015-11-08 13:51:22 -08:00
parent e2b399b8d3
commit c3e5d62bf6
8 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -750,13 +750,13 @@ bool CoreProviderImpl::LoadBridge(char *error, size_t maxlength)
return true;
}
ke::PassRef<CommandHook>
ke::RefPtr<CommandHook>
CoreProviderImpl::AddCommandHook(ConCommand *cmd, const CommandHook::Callback &callback)
{
return hooks_.AddCommandHook(cmd, callback);
}
ke::PassRef<CommandHook>
ke::RefPtr<CommandHook>
CoreProviderImpl::AddPostCommandHook(ConCommand *cmd, const CommandHook::Callback &callback)
{
return hooks_.AddPostCommandHook(cmd, callback);