summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/token.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/token.cpp b/lib/token.cpp index 6b78f53..e20f59c 100644 --- a/lib/token.cpp +++ b/lib/token.cpp
@@ -367,7 +367,7 @@ namespace verbly {
367 token::token( 367 token::token(
368 std::initializer_list<token> parts) : 368 std::initializer_list<token> parts) :
369 type_(type::utterance), 369 type_(type::utterance),
370 variant_(utterance_type { std::move(parts) }) 370 variant_(utterance_type { std::begin(parts), std::end(parts) })
371 { 371 {
372 } 372 }
373 373