diff --git a/src/base/AFPluginManager.hpp b/src/base/AFPluginManager.hpp index 3d6130c3..e31459fd 100755 --- a/src/base/AFPluginManager.hpp +++ b/src/base/AFPluginManager.hpp @@ -197,7 +197,7 @@ class AFPluginManager final : public AFSingleton { 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();