summaryrefslogtreecommitdiff
path: root/src/tools/wasm-metadce.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm-metadce.cpp')
-rw-r--r--src/tools/wasm-metadce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wasm-metadce.cpp b/src/tools/wasm-metadce.cpp
index 8a0170f0f..029d4aae8 100644
--- a/src/tools/wasm-metadce.cpp
+++ b/src/tools/wasm-metadce.cpp
@@ -69,7 +69,7 @@ struct MetaDCEGraph {
// be imported twice, for example. So we don't map a DCE node to an Import,
// but rather the module.base pair ("id") for the import.
// TODO: implement this in a safer way, not a string with a magic separator
- typedef Name ImportId;
+ using ImportId = Name;
ImportId getImportId(Name module, Name base) {
if (module == "GOT.func" || module == "GOT.mem") {