diff --git a/LHCbG4Tests/G4GammaToDiLeptonConversionTest/include/SteppingAction.hh b/LHCbG4Tests/G4GammaToDiLeptonConversionTest/include/SteppingAction.hh
index 96913fd0d0103ce58777ae963890838ee375b1c7..3431716b0ac34d0dd13c791590fdaaa2d90543bc 100644
--- a/LHCbG4Tests/G4GammaToDiLeptonConversionTest/include/SteppingAction.hh
+++ b/LHCbG4Tests/G4GammaToDiLeptonConversionTest/include/SteppingAction.hh
@@ -49,7 +49,7 @@ public:
   SteppingAction(RunAction*);
  ~SteppingAction();
 
-  virtual void UserSteppingAction(const G4Step*);
+  void UserSteppingAction(const G4Step*) override;
     
 private:
   RunAction* fRunAction;