summaryrefslogtreecommitdiff
path: root/src/feature.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature.cc')
-rw-r--r--src/feature.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature.cc b/src/feature.cc
index 989511ba..1c691216 100644
--- a/src/feature.cc
+++ b/src/feature.cc
@@ -23,7 +23,7 @@ namespace wabt {
void Features::AddOptions(OptionParser* parser) {
#define WABT_FEATURE(variable, flag, help) \
parser->AddOption("enable-" flag, help, \
- [this]() { variable##_enabled_ = true; });
+ [this]() { enable_##variable(); });
#include "src/feature.def"
#undef WABT_FEATURE