@@ -229,18 +229,18 @@ void PluginManager::load_plugin_settings(const std::string& plugin_id, const std
229229 const auto & info_node = config[" information" ];
230230#if _MSC_VER >= 1900
231231 impl_->plugin_info_map_ .insert_or_assign (plugin_id, BasePlugin::PluginInfo {
232- info_node[" category" ].as <std::string>(),
233- info_node[" name" ].as <std::string>(),
234- info_node[" author" ].as <std::string>(),
235- info_node[" version" ].as <std::string>(),
236- info_node[" description" ].as <std::string>() });
232+ info_node[" category" ].as <std::string>(" empty_category " ),
233+ info_node[" name" ].as <std::string>(" empty_name " ),
234+ info_node[" author" ].as <std::string>(" empty_author " ),
235+ info_node[" version" ].as <std::string>(" empty_version " ),
236+ info_node[" description" ].as <std::string>(" empty_description " ) });
237237#else
238238 impl_->plugin_info_map_ [plugin_id] = BasePlugin::PluginInfo {
239- info_node[" category" ].as <std::string>(),
240- info_node[" name" ].as <std::string>(),
241- info_node[" author" ].as <std::string>(),
242- info_node[" version" ].as <std::string>(),
243- info_node[" description" ].as <std::string>() };
239+ info_node[" category" ].as <std::string>(" empty_category " ),
240+ info_node[" name" ].as <std::string>(" empty_name " ),
241+ info_node[" author" ].as <std::string>(" empty_author " ),
242+ info_node[" version" ].as <std::string>(" empty_version " ),
243+ info_node[" description" ].as <std::string>(" empty_description " ) };
244244#endif
245245
246246 if (config[" settings" ] && config[" settings" ].size () != 0 && !config[" settings" ].IsSequence ())
0 commit comments