summaryrefslogtreecommitdiff
path: root/Cytore.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Cytore.hpp')
-rw-r--r--Cytore.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Cytore.hpp b/Cytore.hpp
index 168f2ef..714da26 100644
--- a/Cytore.hpp
+++ b/Cytore.hpp
@@ -50,7 +50,7 @@ struct Header {
uint32_t version_;
uint32_t size_;
uint32_t reserved_;
-};
+} _packed;
template <typename Target_>
class Offset {
@@ -80,11 +80,11 @@ class Offset {
bool IsNull() const {
return offset_ == 0;
}
-};
+} _packed;
struct Block {
Cytore::Offset<void> reserved_;
-};
+} _packed;
template <typename Type_>
static _finline Type_ Round(Type_ value, Type_ size) {