summaryrefslogtreecommitdiff
path: root/src/binary-writer-spec.cc
diff options
context:
space:
mode:
authorKeith Winstein <keithw@cs.stanford.edu>2023-02-27 12:38:30 -0800
committerGitHub <noreply@github.com>2023-02-27 20:38:30 +0000
commit297e6593288ff8b3db1bfc94ee59cb9b42d962ef (patch)
treeb6091b3340854206460b2aeff725c19fca8c4cd8 /src/binary-writer-spec.cc
parent546d42a6ce52e67270ed7957b249bc59b4b57a1b (diff)
downloadwabt-297e6593288ff8b3db1bfc94ee59cb9b42d962ef.tar.gz
wabt-297e6593288ff8b3db1bfc94ee59cb9b42d962ef.tar.bz2
wabt-297e6593288ff8b3db1bfc94ee59cb9b42d962ef.zip
Replace MakeUnique with c++14 std::make_unique (#2152)
Diffstat (limited to 'src/binary-writer-spec.cc')
-rw-r--r--src/binary-writer-spec.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binary-writer-spec.cc b/src/binary-writer-spec.cc
index 16153f48..3cb6674d 100644
--- a/src/binary-writer-spec.cc
+++ b/src/binary-writer-spec.cc
@@ -658,8 +658,8 @@ Result WriteBinarySpecScript(
Stream* log_stream) {
WriteBinarySpecStreamFactory module_stream_factory =
[&](std::string_view filename) {
- out_module_streams->emplace_back(filename,
- MakeUnique<MemoryStream>(log_stream));
+ out_module_streams->emplace_back(
+ filename, std::make_unique<MemoryStream>(log_stream));
return out_module_streams->back().stream.get();
};