summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index b9115a51a..998c0bd50 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -803,6 +803,7 @@ public:
struct Segment {
size_t offset;
const char* data;
+ Segment(size_t offset, const char *data) : offset(offset), data(data) {}
};
size_t initial, max;