diff --git a/Control/CLIDComps/src/ClassIDSvc.cxx b/Control/CLIDComps/src/ClassIDSvc.cxx index 006e6e95c9fc199bcbe55d8854dc20521b0cafc2..2864b8df948934164b256346f87db58b483e613a 100644 --- a/Control/CLIDComps/src/ClassIDSvc.cxx +++ b/Control/CLIDComps/src/ClassIDSvc.cxx @@ -447,7 +447,7 @@ ClassIDSvc::processCLIDDB(const char* fileName) #pragma GCC diagnostic pop #endif // cout << "id " << id << endl; - } catch (boost::bad_lexical_cast e) { + } catch (const boost::bad_lexical_cast& e) { error() << "processCLIDDB: Can't cast [" << massTok << "] to long (clid)" << endmsg; allOK=false;