From 45e9ab1f1b3fad77b276c2d04ecffe86882e9e90 Mon Sep 17 00:00:00 2001 From: Steven Murray <Steven.Murray@cern.ch> Date: Tue, 15 Jan 2019 22:55:43 +0100 Subject: [PATCH] Replaced 'catch (cta::exception::Exception)' within 'Configuration.cpp' by 'catch (cta::exception::Exception &)' in order to avoid 'catch-value' compilation error on newer compilers --- common/Configuration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Configuration.cpp b/common/Configuration.cpp index b5c9c3ee2e..0f0eb68780 100644 --- a/common/Configuration.cpp +++ b/common/Configuration.cpp @@ -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 -- GitLab