diff --git a/src/caosdb/entity.cpp b/src/caosdb/entity.cpp index 9592a520aa3c6a36d2b351609de4216adb5d7137..74809f6d0004bae268692e03e604149f00fababe 100644 --- a/src/caosdb/entity.cpp +++ b/src/caosdb/entity.cpp @@ -33,11 +33,6 @@ using caosdb::utility::get_arena; Messages::~Messages() = default; -// auto Messages::Append(const Message & [>message<]) -> void { -// CAOSDB_LOG_WARN(logger_name) -//<< "The Messages container does not implement the Append function."; -//} - Parent::Parent() : wrapped(Parent::CreateProtoParent()) { // TODO(fspreck) Re-enable once we have decided how to attach // messages to parents. @@ -68,17 +63,6 @@ auto Parent::SetId(const std::string &id) -> void { this->wrapped->set_id(id); } return this->wrapped->description(); } -// auto Parents::Append(const Parent &parent) -> void { -// auto *destination = this->wrapped->Add(); -// destination->Swap(parent.wrapped); - -//// Clear the originally wrapped object and return it to the Arena -// parent.wrapped->Clear(); - -//// set the pointer to the new object which is owned by the RepeatedPtrField -// parent.wrapped = destination; -//} - Property::Property() : wrapped(Property::CreateProtoProperty()) {} auto Property::CreateProtoProperty() -> ProtoProperty * {