From 1bfc2590fc89060105a85b6c3137a1f72d795449 Mon Sep 17 00:00:00 2001
From: Jacek Maksymilian Chodak <jacek.maksymilian.chodak@cern.ch>
Date: Tue, 13 Dec 2022 10:32:01 +0100
Subject: [PATCH] Fix compilation error when using
 cta::common::Configuration::getConfEntInt

---
 ReleaseNotes.md          | 1 +
 common/Configuration.hpp | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ReleaseNotes.md b/ReleaseNotes.md
index 69a390c631..b680be5983 100644
--- a/ReleaseNotes.md
+++ b/ReleaseNotes.md
@@ -6,6 +6,7 @@
 - cta/CTA#230 - Modify CTA code to enforce VID uppercase
 ### Bug Fixes
 - cta/CTA#234 - Replace stoi with toUint64 in standalone cli tool
+- cta/CTA#238 - Compilation fails when using cta::common::Configuration::getConfEntInt(...)
 ### Continuous Integration
 - cta/CTA#205 - Updating EOS4/EOS4 in versionlock for v4.8.95/v5.1.5
 
diff --git a/common/Configuration.hpp b/common/Configuration.hpp
index f60cc990c8..37b5866872 100644
--- a/common/Configuration.hpp
+++ b/common/Configuration.hpp
@@ -143,8 +143,7 @@ namespace cta { namespace common {
         }
 
         if (!utils::isValidUInt(strValue.c_str())) {
-          InvalidConfigEntry ex(category.c_str(),
-            key.c_str(), strValue.c_str());
+          InvalidConfigEntry ex;
           ex.getMessage() << "Failed to get configuration entry " << category <<
             ":" << key << ": Value is not a valid unsigned integer: value=" <<
             strValue;
-- 
GitLab