From 645848d0c527d016af84e86ba158a15c0274798e Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sat, 10 May 2014 06:32:10 -0700 Subject: [PATCH] Fix test compilation on Windows --- tests/tests/syntax_highlight.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests/syntax_highlight.cpp b/tests/tests/syntax_highlight.cpp index e17ded506..eedd4951a 100644 --- a/tests/tests/syntax_highlight.cpp +++ b/tests/tests/syntax_highlight.cpp @@ -39,7 +39,7 @@ TEST(lagi_syntax, empty) { EXPECT_TRUE(SyntaxHighlight(text, tokens, nullptr).empty()); - tokens.emplace_back(dt::TEXT, 0); + tokens.push_back(DialogueToken{dt::TEXT, 0}); auto syntax = SyntaxHighlight(text, tokens, nullptr); EXPECT_EQ(1u, syntax.size()); EXPECT_EQ(ss::NORMAL, syntax[0].type);