From aaedb0ed73bb2bc82059def1c96a454df85a918c Mon Sep 17 00:00:00 2001 From: florian <f.spreckelsen@inidscale.com> Date: Thu, 12 Aug 2021 13:12:45 +0200 Subject: [PATCH] MAINT: Remove more commented code --- src/caosdb/entity.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/caosdb/entity.cpp b/src/caosdb/entity.cpp index 9592a52..74809f6 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 * { -- GitLab