summaryrefslogtreecommitdiff
path: root/src/wast-lexer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wast-lexer.cc')
-rw-r--r--src/wast-lexer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wast-lexer.cc b/src/wast-lexer.cc
index dbdee9aa..e8d25d33 100644
--- a/src/wast-lexer.cc
+++ b/src/wast-lexer.cc
@@ -52,8 +52,8 @@ std::unique_ptr<WastLexer> WastLexer::CreateBufferLexer(
const void* data,
size_t size,
Errors* errors) {
- return MakeUnique<WastLexer>(MakeUnique<LexerSource>(data, size), filename,
- errors);
+ return std::make_unique<WastLexer>(std::make_unique<LexerSource>(data, size),
+ filename, errors);
}
Token WastLexer::GetToken() {