diff --git a/alib2common/src/abstraction/AlgorithmRegistry.cpp b/alib2common/src/abstraction/AlgorithmRegistry.cpp index 2ef76aac47105d0d74f4a5767cba4fb41f5b10fb..fcca3822439b002958fcf0da23b2769bf49b8194 100644 --- a/alib2common/src/abstraction/AlgorithmRegistry.cpp +++ b/alib2common/src/abstraction/AlgorithmRegistry.cpp @@ -133,7 +133,8 @@ std::shared_ptr < abstraction::OperationAbstraction > AlgorithmRegistry::getAbst // throw exception::CommonException ( "Entry overload " + ss.str ( ) + " ambiguous." ); FIXME make better overload select algorithm best = compatibilityData [ * winner.begin ( ) ].second.second; - common::Streams::err << "Entry overload " + ss.str ( ) + " ambiguous. First selected." << std::endl; + if(common::GlobalData::verbose) + common::Streams::err << "Entry overload " + ss.str ( ) + " ambiguous. First selected." << std::endl; } else { std::stringstream ss; ss << paramTypes;