diff --git a/DDG4/include/DDG4/ComponentUtils.h b/DDG4/include/DDG4/ComponentUtils.h index fb62f7a48febf40b24641e2c30d8a3b770be1807..a82fffc859b8d28c7faadeeabecf6dc26b96cbe3 100644 --- a/DDG4/include/DDG4/ComponentUtils.h +++ b/DDG4/include/DDG4/ComponentUtils.h @@ -116,7 +116,7 @@ namespace DD4hep { /// Assignment operator / set new balue Property& operator=(const char* val); /// Assignment operator / set new balue - Property& operator=(const std::string& val); + //Property& operator=(const std::string& val); /// Assignment operator / set new balue template <typename TYPE> Property& operator=(const TYPE& val); /// Retrieve value diff --git a/DDG4/src/ComponentUtils.cpp b/DDG4/src/ComponentUtils.cpp index 1a939a2a0d373de568d0ec5e40a7529471c74170..3ba567c9d0377a4947a05a6f1b6baea5db3a489b 100644 --- a/DDG4/src/ComponentUtils.cpp +++ b/DDG4/src/ComponentUtils.cpp @@ -241,10 +241,10 @@ Property& Property::str(const std::string& input) { } /// Assignment operator / set new balue -Property& Property::operator=(const string& val) { - this->set<string>(val); - return *this; -} +//Property& Property::operator=(const string& val) { +// this->set<string>(val); +// return *this; +//} /// Assignment operator / set new balue Property& Property::operator=(const char* val) {