diff options
Diffstat (limited to 'src/wasm/parsing.cpp')
-rw-r--r-- | src/wasm/parsing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/parsing.cpp b/src/wasm/parsing.cpp index dc0d332d9..46ec39865 100644 --- a/src/wasm/parsing.cpp +++ b/src/wasm/parsing.cpp @@ -55,7 +55,7 @@ Name UniqueNameMapper::getPrefixedName(Name prefix) { } // make sure to return a unique name not already on the stack while (1) { - Name ret = Name(prefix.str + std::to_string(otherIndex++)); + Name ret = prefix.toString() + std::to_string(otherIndex++); if (reverseLabelMapping.find(ret) == reverseLabelMapping.end()) { return ret; } |