diff --git a/DDCore/include/DD4hep/Volumes.h b/DDCore/include/DD4hep/Volumes.h index d227be84b786568140e2d160ccda072c5886326a..1b382fcd5e6d002a546bdd791fba0d1776c1048b 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 d8eccc9c2e9b512d1f4e6f4bd3c59a1602f6e2ee..e3ed36d65ef859a2cdf44eb4bba197d49f33e1e9 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__)