diff options
Diffstat (limited to 'src/wasm/wasm.cpp')
-rw-r--r-- | src/wasm/wasm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp index e8de4572b..0245fc01e 100644 --- a/src/wasm/wasm.cpp +++ b/src/wasm/wasm.cpp @@ -1523,7 +1523,7 @@ void Function::clearDebugInfo() { template<typename Map> typename Map::mapped_type& -getModuleElement(Map& m, Name name, const std::string& funcName) { +getModuleElement(Map& m, Name name, std::string_view funcName) { auto iter = m.find(name); if (iter == m.end()) { Fatal() << "Module::" << funcName << ": " << name << " does not exist"; |