summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-12-23 10:47:46 +0000
committerStar Rauchenberger <fefferburbia@gmail.com>2023-02-12 20:04:43 -0500
commit10edf7e99adddc2952d41fffd4de51a03bb70612 (patch)
tree1950cc6b3a847d068936a30c42da017d0b48675f
parent38a5f7bc3aa73fb88d7b13f7636587f9abd10647 (diff)
downloadverbly-10edf7e99adddc2952d41fffd4de51a03bb70612.tar.gz
verbly-10edf7e99adddc2952d41fffd4de51a03bb70612.tar.bz2
verbly-10edf7e99adddc2952d41fffd4de51a03bb70612.zip
Fixed infinite recursion in token class
-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