From d054f4dabaafecf3455b6221a30314702005c681 Mon Sep 17 00:00:00 2001
From: Markus Frank <Markus.Frank@cern.ch>
Date: Wed, 2 Oct 2019 08:52:20 +0200
Subject: [PATCH] Fix gcc 6.2 backwards compatibility

---
 DDCore/include/DD4hep/Volumes.h | 7 +++++--
 DDG4/examples/readHEPMC.py      | 3 ++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/DDCore/include/DD4hep/Volumes.h b/DDCore/include/DD4hep/Volumes.h
index d227be84b..1b382fcd5 100644
--- a/DDCore/include/DD4hep/Volumes.h
+++ b/DDCore/include/DD4hep/Volumes.h
@@ -65,8 +65,11 @@ namespace dd4hep {
     class VolIDs: public std::vector<VolID> {
     public:
       typedef std::vector<VolID> Base;
-      using Base::Base;
-      /// Copy operator
+      /// Default constructor
+      VolIDs() = default;
+      /// Move constructor
+      VolIDs(VolIDs&& copy) = default;
+      /// Copy constructor
       VolIDs(const VolIDs& copy) = default;
       /// Move assignment
       VolIDs& operator=(VolIDs&& copy)  = default;
diff --git a/DDG4/examples/readHEPMC.py b/DDG4/examples/readHEPMC.py
index d8eccc9c2..e3ed36d65 100644
--- a/DDG4/examples/readHEPMC.py
+++ b/DDG4/examples/readHEPMC.py
@@ -7,7 +7,8 @@ dd4hep simulation example setup using the python configuration
 
 """
 from __future__ import absolute_import, unicode_literals
-import os, logging
+import os
+import logging
 
 logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.INFO)
 logger = logging.getLogger(__name__)
-- 
GitLab