diff --git a/Control/StoreGateBindings/src/SgPyDataModel.cxx b/Control/StoreGateBindings/src/SgPyDataModel.cxx index 43d18df8b458803f333560dc2bc415dddc3a3a1e..ff1efe9039b69862b139dc019f322c3061000a7d 100644 --- a/Control/StoreGateBindings/src/SgPyDataModel.cxx +++ b/Control/StoreGateBindings/src/SgPyDataModel.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ @@ -145,16 +145,6 @@ namespace SG { return 0; } - PyDataBucket* PyDataBucket::clone() const - { - PyErr_SetString - ( PyExc_RuntimeError, - "SG::PyDataBucket::clone() is not meant to be called (yet)" ); - std::abort(); - return 0; -// new SG::PyDataBucket( m_type, copy<>(m_pyObj), m_clid ); - } - void PyDataBucket::lock() { RootUtils::PyGILStateEnsure gil; diff --git a/Control/StoreGateBindings/src/SgPyDataModel.h b/Control/StoreGateBindings/src/SgPyDataModel.h index a13472a2bee4ce007de0347d56eaf97c60d6d342..8bf568b65257ddda6289b4a8c669a01719fdfb7c 100644 --- a/Control/StoreGateBindings/src/SgPyDataModel.h +++ b/Control/StoreGateBindings/src/SgPyDataModel.h @@ -1,7 +1,7 @@ // -*- C++ -*- /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ #ifndef STOREGATEBINDINGS_SGPYDATAMODEL_H @@ -147,12 +147,6 @@ namespace SG { return m_bib->typeinfo(); } - /** - * @brief Return a new @c DataBucket whose payload has been cloned from the - * original one. - */ - virtual SG::PyDataBucket* clone() const override; - /** * @brief Give up ownership of the @c DataBucket contents. */