aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/Manual.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/Manual.hxx b/src/util/Manual.hxx
index 7b1023f41..684c7e1da 100644
--- a/src/util/Manual.hxx
+++ b/src/util/Manual.hxx
@@ -93,10 +93,14 @@ public:
}
T &Get() {
+ assert(initialized);
+
return *(T *)data;
}
const T &Get() const {
+ assert(initialized);
+
return *(const T *)data;
}