Skip to content

Commit

Permalink
Fix missing plugin name in error message when a plugin fails to initi…
Browse files Browse the repository at this point in the history
…alize
  • Loading branch information
linh2931 committed May 18, 2024
1 parent d7a7580 commit 601153f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion application_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,10 @@ bool application_base::initialize_impl(int argc, char** argv, vector<abstract_pl
{
vector<string> names;
boost::split(names, arg, boost::is_any_of(" \t,"));
for(const std::string& name : names)
for(const std::string& name : names) {
plugin_name = name;
get_plugin(name).initialize(options);
}
}
}

Expand Down

0 comments on commit 601153f

Please sign in to comment.