From 6f480527faa6a3dbf83049f47a498940bfcd915d Mon Sep 17 00:00:00 2001
From: Dmitry Popov <dmitry.popov@cern.ch>
Date: Wed, 28 Mar 2018 13:09:38 +0000
Subject: [PATCH] Fix override warning

---
 .../include/PrimaryGeneratorAction.hh                           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/LHCbG4Tests/G4GammaToDiLeptonConversionTest/include/PrimaryGeneratorAction.hh b/LHCbG4Tests/G4GammaToDiLeptonConversionTest/include/PrimaryGeneratorAction.hh
index 4fa9549..a646016 100644
--- a/LHCbG4Tests/G4GammaToDiLeptonConversionTest/include/PrimaryGeneratorAction.hh
+++ b/LHCbG4Tests/G4GammaToDiLeptonConversionTest/include/PrimaryGeneratorAction.hh
@@ -51,7 +51,7 @@ class PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
    ~PrimaryGeneratorAction();
 
   public:
-    virtual void GeneratePrimaries(G4Event*);
+    void GeneratePrimaries(G4Event*) override;
 
   private:
     G4ParticleGun*             fParticleGun;
-- 
GitLab