summaryrefslogtreecommitdiffhomepage
path: root/flowgraph/storage.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-22 17:11:11 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-22 17:11:11 +0100
commitad3fd947005400c90f41baa4416a27d94b1bc157 (patch)
tree4332b7ad2183f0e5b4e10719129573540519413a /flowgraph/storage.h
parentfd8517e10937a5b72ed839ce900306f281d74b7d (diff)
Clarify flowgraph types
Diffstat (limited to 'flowgraph/storage.h')
-rw-r--r--flowgraph/storage.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/flowgraph/storage.h b/flowgraph/storage.h
index 7b5c53b..9e95905 100644
--- a/flowgraph/storage.h
+++ b/flowgraph/storage.h
@@ -57,21 +57,4 @@ namespace FlowGraph {
TemporaryStorage();
};
- // dereferenced pointer
- class PointeeStorage : public Storage
- {
- public:
- PointeeStorage(const Data& pointer, const Data& offset): m_pointer(pointer), m_offset(offset) {
- if (pointer.type() != DataType::Pointer)
- throw std::runtime_error("Pointer argument must be a DataType::Pointer");
- if (offset.type() != DataType::Size)
- throw std::runtime_error("Offset argument must be a DataType::Size");
- }
- Data pointer() { return m_pointer; }
- Data offset() { return m_offset; }
- private:
- Data m_pointer;
- Data m_offset;
- };
-
}