From 8c65733ac624c909c43b52b896228e6e345506cd Mon Sep 17 00:00:00 2001 From: NickYang Date: Fri, 9 Aug 2019 16:53:42 +0800 Subject: [PATCH] fix high version gcc error --- src/base/AFPluginManager.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();