Skip to content
Snippets Groups Projects
Commit 45e9ab1f authored by Steven Murray's avatar Steven Murray
Browse files

Replaced 'catch (cta::exception::Exception)' within 'Configuration.cpp' by...

Replaced 'catch (cta::exception::Exception)' within 'Configuration.cpp' by 'catch (cta::exception::Exception &)' in order to avoid 'catch-value' compilation error on newer compilers
parent a1037049
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,7 @@ const std::string& cta::common::Configuration::getConfEntString(
}
// Unlock and return default
pthread_rwlock_unlock(&m_lock);
} catch (cta::exception::Exception) {
} catch (cta::exception::Exception &) {
// exception caught : Unlock and return default
pthread_rwlock_unlock(&m_lock);
// log the exception
......
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