Skip to content
Snippets Groups Projects
Commit 1ad0cf2e authored by Markus Frank's avatar Markus Frank Committed by MarkusFrankATcernch
Browse files

Fix compilation error

parent bddf9ba2
No related branches found
No related tags found
No related merge requests found
...@@ -95,6 +95,7 @@ GlobalAlignmentStack::~GlobalAlignmentStack() { ...@@ -95,6 +95,7 @@ GlobalAlignmentStack::~GlobalAlignmentStack() {
GlobalAlignmentStack& GlobalAlignmentStack::get() { GlobalAlignmentStack& GlobalAlignmentStack::get() {
if ( _stack().get() ) return *_stack(); if ( _stack().get() ) return *_stack();
except("GlobalAlignmentStack", "Stack not allocated -- may not be retrieved!"); except("GlobalAlignmentStack", "Stack not allocated -- may not be retrieved!");
throw std::runtime_error("Stack not allocated");
} }
/// Create an alignment stack instance. The creation of a second instance will be refused. /// Create an alignment stack instance. The creation of a second instance will be refused.
......
...@@ -26,7 +26,7 @@ namespace { ...@@ -26,7 +26,7 @@ namespace {
return d->target.name; return d->target.name;
#else #else
char text[64]; char text[64];
ConditionKey::KeyMaker key(d->target.hash); dd4hep::ConditionKey::KeyMaker key(d->target.hash);
::snprintf(text,sizeof(text),"%08X %08X",key.values.det_key, key.values.item_key); ::snprintf(text,sizeof(text),"%08X %08X",key.values.det_key, key.values.item_key);
return text; return text;
#endif #endif
......
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