summaryrefslogtreecommitdiff
path: root/src/wasm-linker.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-10-03 16:40:18 -0700
committerGitHub <noreply@github.com>2016-10-03 16:40:18 -0700
commitd19721bc110f0c4545eeaed825de99f963834a0a (patch)
tree100278897d5488b23206df5a957c368b60d2f224 /src/wasm-linker.h
parenteab1c956d2dbdcc83a861c94f95662bfc0af38cc (diff)
downloadbinaryen-d19721bc110f0c4545eeaed825de99f963834a0a.tar.gz
binaryen-d19721bc110f0c4545eeaed825de99f963834a0a.tar.bz2
binaryen-d19721bc110f0c4545eeaed825de99f963834a0a.zip
Refactor Import::Kind and Export::Kind into an ExternalKind enum class (#725)
Diffstat (limited to 'src/wasm-linker.h')
-rw-r--r--src/wasm-linker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-linker.h b/src/wasm-linker.h
index 015e3a085..2a6e3c01a 100644
--- a/src/wasm-linker.h
+++ b/src/wasm-linker.h
@@ -294,7 +294,7 @@ class Linker {
if (out.wasm.checkExport(name)) return; // Already exported
auto exp = new Export;
exp->name = exp->value = name;
- exp->kind = Export::Function;
+ exp->kind = ExternalKind::Function;
out.wasm.addExport(exp);
}