summaryrefslogtreecommitdiff
path: root/src/tools/fuzzing/random.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/fuzzing/random.cpp')
-rw-r--r--src/tools/fuzzing/random.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/fuzzing/random.cpp b/src/tools/fuzzing/random.cpp
index 38a86924e..3d8297c15 100644
--- a/src/tools/fuzzing/random.cpp
+++ b/src/tools/fuzzing/random.cpp
@@ -20,7 +20,8 @@
namespace wasm {
-Random::Random(std::vector<char>&& bytes) : bytes(std::move(bytes)) {
+Random::Random(std::vector<char>&& bytes, FeatureSet features)
+ : bytes(std::move(bytes)), features(features) {
// Ensure there is *some* input to be read.
if (bytes.empty()) {
bytes.push_back(0);