Commit 66e4880ec45bd2fce245bef02e92c2d6de1dc12d

Authored by Jürgen Knödlseder
1 parent 11742474

Avoid constructor in constructor as this apparently leads to problems on older gcc compilers.

Showing 1 changed file with 2 additions and 1 deletions
src/ctobssim/ctobssim.cpp
... ... @@ -548,7 +548,8 @@ void ctobssim::set_list(GCTAObservation* obs)
548 548 pnt.dir(skydir);
549 549  
550 550 // Set ROI
551   - GCTARoi roi(GCTAInstDir(skydir), m_rad);
  551 + GCTAInstDir instdir(skydir);
  552 + GCTARoi roi(instdir, m_rad);
552 553  
553 554 // Set GTI
554 555 GGti gti(m_cta_ref);
... ...