diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-23 10:47:46 +0000 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-23 10:47:46 +0000 |
commit | 51d7ceb62c753479af08e49b023ef90ddac34aa5 (patch) | |
tree | cc38ff20e2a04dacb0126504701a8330a7fdac43 | |
parent | 6ffb3d92615fb7874fc9f4d5f6e6359c92b65f8f (diff) | |
download | verbly-51d7ceb62c753479af08e49b023ef90ddac34aa5.tar.gz verbly-51d7ceb62c753479af08e49b023ef90ddac34aa5.tar.bz2 verbly-51d7ceb62c753479af08e49b023ef90ddac34aa5.zip |
Fixed infinite recursion in token class
-rw-r--r-- | lib/token.cpp | 2 |
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 | ||