Skip to content
Snippets Groups Projects
Commit 1bfc2590 authored by Jacek Maksymilian Chodak's avatar Jacek Maksymilian Chodak Committed by Jorge Camarero Vera
Browse files

Fix compilation error when using cta::common::Configuration::getConfEntInt

parent 02c1b39c
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
- cta/CTA#230 - Modify CTA code to enforce VID uppercase - cta/CTA#230 - Modify CTA code to enforce VID uppercase
### Bug Fixes ### Bug Fixes
- cta/CTA#234 - Replace stoi with toUint64 in standalone cli tool - cta/CTA#234 - Replace stoi with toUint64 in standalone cli tool
- cta/CTA#238 - Compilation fails when using cta::common::Configuration::getConfEntInt(...)
### Continuous Integration ### Continuous Integration
- cta/CTA#205 - Updating EOS4/EOS4 in versionlock for v4.8.95/v5.1.5 - cta/CTA#205 - Updating EOS4/EOS4 in versionlock for v4.8.95/v5.1.5
......
...@@ -143,8 +143,7 @@ namespace cta { namespace common { ...@@ -143,8 +143,7 @@ namespace cta { namespace common {
} }
if (!utils::isValidUInt(strValue.c_str())) { if (!utils::isValidUInt(strValue.c_str())) {
InvalidConfigEntry ex(category.c_str(), InvalidConfigEntry ex;
key.c_str(), strValue.c_str());
ex.getMessage() << "Failed to get configuration entry " << category << ex.getMessage() << "Failed to get configuration entry " << category <<
":" << key << ": Value is not a valid unsigned integer: value=" << ":" << key << ": Value is not a valid unsigned integer: value=" <<
strValue; strValue;
......
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