From 927eb99e75325164a541c2638e1e607294019381 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 17 Nov 2020 12:38:40 +0100 Subject: Complete hierarchical evaluation (unittest and systemtest fixed) --- flowgraph/data.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'flowgraph/data.h') diff --git a/flowgraph/data.h b/flowgraph/data.h index d1c2588..e2def93 100644 --- a/flowgraph/data.h +++ b/flowgraph/data.h @@ -27,9 +27,10 @@ namespace FlowGraph { class Data { public: - Data(DataType type, std::shared_ptr storage): m_type(type), m_storage(storage) {} - DataType type() const { return m_type; } - std::shared_ptr storage() { return m_storage; } + Data(DataType type, std::shared_ptr storage); + DataType type() const; + std::shared_ptr storage() const; + bool operator==(const Data& other) const; private: const DataType m_type; std::shared_ptr m_storage; -- cgit v1.2.3