diff options
Diffstat (limited to 'src/binaryen-c.cpp')
-rw-r--r-- | src/binaryen-c.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp index 4d057d614..3e85a417b 100644 --- a/src/binaryen-c.cpp +++ b/src/binaryen-c.cpp @@ -152,7 +152,7 @@ uint32_t BinaryenTypeArity(BinaryenType t) { return Type(t).size(); } void BinaryenTypeExpand(BinaryenType t, BinaryenType* buf) { Type types(t); size_t i = 0; - for (auto& type : types) { + for (const auto& type : types) { buf[i++] = type.getID(); } } |