summaryrefslogtreecommitdiffhomepage
path: root/flowgraph/storage.h
diff options
context:
space:
mode:
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;
- };
-
}