Skip to content
Snippets Groups Projects
Commit bfbb7c9c authored by Markus FRANK's avatar Markus FRANK Committed by Andre Sailer
Browse files

Enable locking mechanism to switch unit system

parent 3410ddf2
No related branches found
No related tags found
No related merge requests found
...@@ -332,7 +332,7 @@ int ConditionsDataAccess::accessConditions(DetElement de, const std::vector<Cond ...@@ -332,7 +332,7 @@ int ConditionsDataAccess::accessConditions(DetElement de, const std::vector<Cond
// Let's go for the deltas.... // Let's go for the deltas....
for( auto cond : conditions ) { for( auto cond : conditions ) {
const auto& info = typeid(*cond.ptr()); const auto& info = cond.descriptor().type();
if ( info != typeid(detail::ConditionObject) ) { if ( info != typeid(detail::ConditionObject) ) {
printout(ERROR,"accessConditions","Condition with bad base class!"); printout(ERROR,"accessConditions","Condition with bad base class!");
} }
......
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