summaryrefslogtreecommitdiff
path: root/include/wabt/binary-writer-spec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wabt/binary-writer-spec.h')
-rw-r--r--include/wabt/binary-writer-spec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/wabt/binary-writer-spec.h b/include/wabt/binary-writer-spec.h
index 5cfa95e7..168c65ef 100644
--- a/include/wabt/binary-writer-spec.h
+++ b/include/wabt/binary-writer-spec.h
@@ -35,8 +35,8 @@ struct FilenameMemoryStreamPair {
std::unique_ptr<MemoryStream> stream;
};
-typedef std::function<Stream*(std::string_view filename)>
- WriteBinarySpecStreamFactory;
+using WriteBinarySpecStreamFactory =
+ std::function<Stream*(std::string_view filename)>;
Result WriteBinarySpecScript(Stream* json_stream,
WriteBinarySpecStreamFactory module_stream_factory,