Skip to content

Commit

Permalink
fix error assert
Browse files Browse the repository at this point in the history
  • Loading branch information
nickyang4github committed Aug 9, 2019
1 parent 7053635 commit 4839d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/AFPluginManager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class AFPluginManager final : public AFSingleton<AFPluginManager>
{
std::string plugin_name = plugin->GetPluginName();

ARK_ASSERT_RET_NONE(FindPlugin(plugin_name));
ARK_ASSERT_RET_NONE(FindPlugin(plugin_name) == false);
plugin->SetPluginManager(this);
plugin_instances_.insert(plugin_name, plugin);
plugin->Install();
Expand Down

0 comments on commit 4839d57

Please sign in to comment.