Skip to content

Commit

Permalink
fix high version gcc error
Browse files Browse the repository at this point in the history
  • Loading branch information
nickyang4github committed Aug 9, 2019
1 parent 4839d57 commit 8c65733
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) == false);
ARK_ASSERT_RET_NONE(FindPlugin(plugin_name) == nullptr);
plugin->SetPluginManager(this);
plugin_instances_.insert(plugin_name, plugin);
plugin->Install();
Expand Down

0 comments on commit 8c65733

Please sign in to comment.