Skip to content

Commit

Permalink
Merge pull request #27728 from ianna/dd4hep-remove-dddetector-destruc…
Browse files Browse the repository at this point in the history
…tor-v1

DD4hep: Update to a new DD4hep version - no need to cleanup
  • Loading branch information
cmsbuild committed Aug 9, 2019
2 parents 6e36c05 + 223bf3e commit a6191a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions DetectorDescription/DDCMS/interface/DDDetector.h
Expand Up @@ -18,8 +18,6 @@ namespace cms {
explicit DDDetector(const std::string&, const std::string&);
DDDetector() = delete;

~DDDetector();

// FIXME: remove the need for it
Detector const* description() const { return m_description; }

Expand Down
2 changes: 0 additions & 2 deletions DetectorDescription/DDCMS/src/DDDetector.cc
Expand Up @@ -15,8 +15,6 @@ DDDetector::DDDetector(const string& tag, const string& fileName) : m_tag(tag) {
process(fileName);
}

DDDetector::~DDDetector() { Detector::destroyInstance(m_tag); }

void DDDetector::process(const string& fileName) {
std::string name("DD4hep_CompactLoader");
const char* files[] = {fileName.c_str(), nullptr};
Expand Down

0 comments on commit a6191a1

Please sign in to comment.