diff --git a/src/knx/group_object.cpp b/src/knx/group_object.cpp index e19f0c8f..7b172d5c 100644 --- a/src/knx/group_object.cpp +++ b/src/knx/group_object.cpp @@ -20,20 +20,6 @@ GroupObject::GroupObject() #endif } -// getting the sizeInMemory requires the _table object. For this reason, the copy constructor should not be used. -// -// GroupObject::GroupObject(const GroupObject& other) -// { -// _data = new uint8_t[other._table != nullptr ? other.sizeInMemory() : other._dataLength]; -// _commFlagEx = other._commFlagEx; -// _dataLength = other._dataLength; -// _asap = other._asap; -// #ifndef SMALL_GROUPOBJECT -// _updateHandler = other._updateHandler; -// #endif -// memcpy(_data, other._data, _dataLength); -// } - GroupObject::~GroupObject() { if (_data) diff --git a/src/knx/group_object.h b/src/knx/group_object.h index 31449da8..244fab67 100644 --- a/src/knx/group_object.h +++ b/src/knx/group_object.h @@ -57,13 +57,6 @@ class GroupObject * The constructor. */ GroupObject(); - /** - * The copy constructor. - */ - - // getting the sizeInMemory requires the _table object. For this reason, the copy constructor should not be used - // GroupObject(const GroupObject& other); - /** * The destructor. */