From 6218b88920120dea23d605856b9d27f9deb4746c Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 14 Dec 2022 10:19:40 -0500 Subject: Migrate from mpark::variant to std::variant --- lib/token.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/token.h') diff --git a/lib/token.h b/lib/token.h index 910a465..a18fe42 100644 --- a/lib/token.h +++ b/lib/token.h @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include "enums.h" #include "word.h" @@ -38,7 +38,7 @@ namespace verbly { bool isEmpty() const { return (type_ == type::utterance && - mpark::get(variant_).empty()); + std::get(variant_).empty()); } // Word @@ -153,7 +153,7 @@ namespace verbly { }; using variant_type = - mpark::variant< + std::variant< word_type, literal_type, part, -- cgit 1.4.1