From eea63449c664b853e9838192b3ad5c1ceb911062 Mon Sep 17 00:00:00 2001
From: Markus Frank <Markus.Frank@cern.ch>
Date: Tue, 19 Jul 2022 12:09:16 +0200
Subject: [PATCH] Fixes for Geant4 < 1070

---
 DDG4/include/DDG4/Geant4FastSimSpot.h | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/DDG4/include/DDG4/Geant4FastSimSpot.h b/DDG4/include/DDG4/Geant4FastSimSpot.h
index 6d7f8ead2..20b8aa129 100644
--- a/DDG4/include/DDG4/Geant4FastSimSpot.h
+++ b/DDG4/include/DDG4/Geant4FastSimSpot.h
@@ -29,7 +29,7 @@ class G4FastHit
   G4FastHit() = default;
   G4FastHit(const G4ThreeVector& aPosition, G4double aEnergy)
     : fEnergy(aEnergy), fPosition(aPosition) {}
-  G4FastHit(const G4ThreeVector& aPosition, G4double aEnergy, G4bool /* aDebug */);
+  G4FastHit(const G4ThreeVector& aPosition, G4double aEnergy, G4bool /* aDebug */)
     : fEnergy(aEnergy), fPosition(aPosition) {}
   virtual ~G4FastHit() = default;
 
@@ -38,10 +38,7 @@ class G4FastHit
   /// Get energy
   inline G4double GetEnergy() const { return fEnergy; }
   /// Set position
-  inline void SetPosition(const G4ThreeVector& aPosition)
-  {
-    fPosition = aPosition;
-  }
+  inline void SetPosition(const G4ThreeVector& aPosition) { fPosition = aPosition; }
   /// Get position
   inline G4ThreeVector GetPosition() const { return fPosition; }
  private:
-- 
GitLab