Skip to content
Snippets Groups Projects
Commit 8af1efd7 authored by carlocamilloni's avatar carlocamilloni
Browse files

keywords: fix a small bug that was preventing customiszble components to avoid warning

parent b90c2826
No related branches found
No related tags found
No related merge requests found
...@@ -631,7 +631,7 @@ void Keywords::addOutputComponent( const std::string& name, const std::string& k ...@@ -631,7 +631,7 @@ void Keywords::addOutputComponent( const std::string& name, const std::string& k
} }
bool Keywords::outputComponentExists( const std::string& name, const bool& custom ) const { bool Keywords::outputComponentExists( const std::string& name, const bool& custom ) const {
if( custom && cstring.find("customizable")!=std::string::npos ) return true; if( custom && cstring.find("customized")!=std::string::npos ) return true;
std::string sname; std::size_t num=name.find_first_of("-"); std::string sname; std::size_t num=name.find_first_of("-");
if( num!=std::string::npos ) sname=name.substr(0,num); if( num!=std::string::npos ) sname=name.substr(0,num);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment