From 32d1c021e41fd1063aac7864daf1fbcc6cd5c964 Mon Sep 17 00:00:00 2001 From: Markus Frank <Markus.Frank@cern.ch> Date: Mon, 11 Jul 2022 13:53:07 +0200 Subject: [PATCH] Try to fix MAC link problems on github for examples --- DDTest/src/test_PolarGridRPhi2.cc | 3 ++- DDTest/src/test_bitfield64.cc | 6 +++--- DDTest/src/test_bitfieldcoder.cc | 7 +++---- DDTest/src/test_example.cc | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DDTest/src/test_PolarGridRPhi2.cc b/DDTest/src/test_PolarGridRPhi2.cc index 14d2d151a..be16c0ddd 100644 --- a/DDTest/src/test_PolarGridRPhi2.cc +++ b/DDTest/src/test_PolarGridRPhi2.cc @@ -17,7 +17,8 @@ public: }; int main() { - dd4hep::DDTest test( "PolarGridRPhi2" ) ; + dd4hep::DDTest test( "PolarGridRPhi2" ); + try{ dd4hep::DDSegmentation::PolarGridRPhi2 seg("system:8,layer:8,barrel:3,layer:8,slice:5,r:16,phi:16"); diff --git a/DDTest/src/test_bitfield64.cc b/DDTest/src/test_bitfield64.cc index 49ea6109f..2159fdffc 100644 --- a/DDTest/src/test_bitfield64.cc +++ b/DDTest/src/test_bitfield64.cc @@ -6,9 +6,9 @@ #include "DDSegmentation/BitField64.h" -using namespace std ; -using namespace dd4hep ; -using namespace DDSegmentation ; +using namespace std; +using namespace dd4hep; +using namespace DDSegmentation; //============================================================================= int main(int /* argc */, char** /* argv */ ){ diff --git a/DDTest/src/test_bitfieldcoder.cc b/DDTest/src/test_bitfieldcoder.cc index e6f6bae59..98dd025cb 100644 --- a/DDTest/src/test_bitfieldcoder.cc +++ b/DDTest/src/test_bitfieldcoder.cc @@ -6,10 +6,9 @@ #include "DDSegmentation/BitFieldCoder.h" - -using namespace std ; -using namespace dd4hep ; -using namespace DDSegmentation ; +using namespace std; +using namespace dd4hep; +using namespace DDSegmentation; //============================================================================= int main(int /* argc */, char** /* argv */ ){ diff --git a/DDTest/src/test_example.cc b/DDTest/src/test_example.cc index b41adde32..d0fdc6b0f 100644 --- a/DDTest/src/test_example.cc +++ b/DDTest/src/test_example.cc @@ -8,7 +8,7 @@ int main(int /* argc */, char** /* argv */ ){ // this should be the first line in your test - dd4hep::DDTest test( "example" ) ; + dd4hep::DDTest test( "example" ); try{ -- GitLab