From 3804de7ab641a085b72a3d65b70bb15373ca514b Mon Sep 17 00:00:00 2001
From: myliu <201916234@mail.sdu.edu.cn>
Date: Thu, 25 Feb 2021 15:51:39 +0800
Subject: [PATCH] An issue with warnings generated by ';' during compilation
 has been resolved

---
 Simulation/DetSimFastModel/src/DummyFastSimG4Tool.cpp        | 2 +-
 Simulation/DetSimSD/src/DriftChamberSensDetTool.cpp          | 2 +-
 Simulation/DetSimSD/src/TimeProjectionChamberSensDetTool.cpp | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Simulation/DetSimFastModel/src/DummyFastSimG4Tool.cpp b/Simulation/DetSimFastModel/src/DummyFastSimG4Tool.cpp
index 6fa049f8..90bbe0bc 100644
--- a/Simulation/DetSimFastModel/src/DummyFastSimG4Tool.cpp
+++ b/Simulation/DetSimFastModel/src/DummyFastSimG4Tool.cpp
@@ -6,7 +6,7 @@
 #include "G4VFastSimulationModel.hh"
 #include "DummyFastSimG4Model.h"
 
-DECLARE_COMPONENT(DummyFastSimG4Tool);
+DECLARE_COMPONENT(DummyFastSimG4Tool)
 
 StatusCode DummyFastSimG4Tool::initialize() {
     StatusCode sc;
diff --git a/Simulation/DetSimSD/src/DriftChamberSensDetTool.cpp b/Simulation/DetSimSD/src/DriftChamberSensDetTool.cpp
index 07c7b88f..43dfa178 100644
--- a/Simulation/DetSimSD/src/DriftChamberSensDetTool.cpp
+++ b/Simulation/DetSimSD/src/DriftChamberSensDetTool.cpp
@@ -6,7 +6,7 @@
 
 #include "DriftChamberSensitiveDetector.h"
 
-DECLARE_COMPONENT(DriftChamberSensDetTool);
+DECLARE_COMPONENT(DriftChamberSensDetTool)
 
 StatusCode DriftChamberSensDetTool::initialize() {
     StatusCode sc;
diff --git a/Simulation/DetSimSD/src/TimeProjectionChamberSensDetTool.cpp b/Simulation/DetSimSD/src/TimeProjectionChamberSensDetTool.cpp
index 9ca7b471..94c1e223 100644
--- a/Simulation/DetSimSD/src/TimeProjectionChamberSensDetTool.cpp
+++ b/Simulation/DetSimSD/src/TimeProjectionChamberSensDetTool.cpp
@@ -8,7 +8,7 @@
 
 #include "CLHEP/Units/SystemOfUnits.h"
 
-DECLARE_COMPONENT(TimeProjectionChamberSensDetTool);
+DECLARE_COMPONENT(TimeProjectionChamberSensDetTool)
 
 StatusCode TimeProjectionChamberSensDetTool::initialize() {
   StatusCode sc;
-- 
GitLab