From ad55d9a0bb32f4811469732027a405083e70aa8d Mon Sep 17 00:00:00 2001
From: florian <f.spreckelsen@inidscale.com>
Date: Tue, 10 Aug 2021 17:08:45 +0200
Subject: [PATCH] FIX: Add missing GetDescription

---
 src/caosdb/entity.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/caosdb/entity.cpp b/src/caosdb/entity.cpp
index 50dbbaf..f90f8fb 100644
--- a/src/caosdb/entity.cpp
+++ b/src/caosdb/entity.cpp
@@ -57,6 +57,10 @@ auto Parent::SetId(const std::string &id) -> void { this->wrapped->set_id(id); }
   return this->wrapped->name();
 }
 
+[[nodiscard]] auto Parent::GetDescription() const -> const std::string & {
+  return this->wrapped->description();
+}
+
 auto Parents::Append(const Parent &parent) -> void {
   auto *destination = this->wrapped->Add();
   destination->Swap(parent.wrapped);
-- 
GitLab