aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage.H')
-rw-r--r--src/include/storage.H19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/include/storage.H b/src/include/storage.H
index cd3a723a..6800dc16 100644
--- a/src/include/storage.H
+++ b/src/include/storage.H
@@ -294,25 +294,6 @@ namespace OpenAxiom {
last->~T();
}
}
-
- // -----------------
- // -- FileMapping --
- // -----------------
- struct FileMapping {
- explicit FileMapping(std::string);
- FileMapping(FileMapping&&);
- ~FileMapping();
- const Byte* begin() const { return start; }
- const Byte* end() const { return begin() + extent; }
- std::size_t size() const { return extent; }
- protected:
- Byte* start; // address at the mapped storage
- size_t extent; // length (in bytes) of the storage
- private:
- FileMapping(const FileMapping&) = delete;
- FileMapping& operator=(const FileMapping&) = delete;
- };
-
}
}