aboutsummaryrefslogtreecommitdiffstats
path: root/splitmemdictrw.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'splitmemdictrw.hpp')
-rw-r--r--splitmemdictrw.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/splitmemdictrw.hpp b/splitmemdictrw.hpp
index 7fcb5cd..dc02ab9 100644
--- a/splitmemdictrw.hpp
+++ b/splitmemdictrw.hpp
@@ -40,7 +40,6 @@ public:
return *this;
}
-
virtual Cell read(Addr addr) const noexcept final {
if (addr < LON)
return *reinterpret_cast<const Cell *>(lodict + addr);
@@ -72,6 +71,9 @@ public:
virtual unsigned long int capacity() const noexcept final {
return LON + HIN;
}
+
+private:
+ virtual ~SplitMemDictRW() override {};
};
#endif // ALEEFORTH_SPLITMEMDICTRW_HPP