From 10edf7e99adddc2952d41fffd4de51a03bb70612 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 23 Dec 2022 10:47:46 +0000 Subject: Fixed infinite recursion in token class --- lib/token.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { token::token( std::initializer_list parts) : type_(type::utterance), - variant_(utterance_type { std::move(parts) }) + variant_(utterance_type { std::begin(parts), std::end(parts) }) { } -- cgit 1.4.1