diff options
Diffstat (limited to 'inc/storage.h')
-rw-r--r-- | inc/storage.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/storage.h b/inc/storage.h index 793b982..0ab16e4 100644 --- a/inc/storage.h +++ b/inc/storage.h @@ -17,6 +17,8 @@ enum Accessor { class Storage { public: + virtual ~Storage() = default; + /** * Write `data` into `address`. * @param the source making the request. @@ -49,6 +51,13 @@ class Storage */ void resolve(); + /** + * Getter for lower attribute. + * TODO this doesn't seem like good object-oriented practice. + * @return this->lower + */ + Storage *get_lower(); + protected: /** * The data currently stored in this level of storage. |