Skip to content
Snippets Groups Projects
Commit 3cafd031 authored by Frank Gaede's avatar Frank Gaede
Browse files

fixed _Unicode to not have quotation marks

parent 4c640b9b
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ static Ref_t create_element(LCDD& lcdd, xml_h e, SensitiveDetector sens) {
bool isStripDetector = false ;
try {
isStripDetector = x_det.attr<bool>( _Unicode("isStripDetector") ) ;
isStripDetector = x_det.attr<bool>( _Unicode(isStripDetector) ) ;
} catch(std::runtime_error ){}
......@@ -57,7 +57,7 @@ static Ref_t create_element(LCDD& lcdd, xml_h e, SensitiveDetector sens) {
xml_comp_t x_ladder( x_layer.child( _U(ladder) ));
int layer_id = x_layer.id();
int nLadders = x_layer.attr<double>( _Unicode("nLadders") ) ;
int nLadders = x_layer.attr<double>( _Unicode(nLadders) ) ;
double dphi = 2.*M_PI / double(nLadders);
......
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