summary refs log tree commit diff stats
path: root/lib/statement.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-12-14 10:19:40 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2022-12-14 10:19:40 -0500
commit6218b88920120dea23d605856b9d27f9deb4746c (patch)
tree657840cc60749db1e8ee453593211cd336462e98 /lib/statement.h
parentc498cfa5cfd6408b465e45409987467b47b2b73d (diff)
downloadverbly-6218b88920120dea23d605856b9d27f9deb4746c.tar.gz
verbly-6218b88920120dea23d605856b9d27f9deb4746c.tar.bz2
verbly-6218b88920120dea23d605856b9d27f9deb4746c.zip
Migrate from mpark::variant to std::variant
Diffstat (limited to 'lib/statement.h')
-rw-r--r--lib/statement.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/statement.h b/lib/statement.h index 6c2e42e..632807f 100644 --- a/lib/statement.h +++ b/lib/statement.h
@@ -5,7 +5,7 @@
5#include <list> 5#include <list>
6#include <map> 6#include <map>
7#include <hkutil/database.h> 7#include <hkutil/database.h>
8#include <variant.hpp> 8#include <variant>
9#include "enums.h" 9#include "enums.h"
10#include "field.h" 10#include "field.h"
11#include "filter.h" 11#include "filter.h"
@@ -19,8 +19,8 @@ namespace verbly {
19 std::tuple<std::string, std::string>; 19 std::tuple<std::string, std::string>;
20 20
21 using binding = 21 using binding =
22 mpark::variant< 22 std::variant<
23 mpark::monostate, 23 std::monostate,
24 std::string, 24 std::string,
25 int, 25 int,
26 field_binding>; 26 field_binding>;
@@ -185,8 +185,8 @@ namespace verbly {
185 }; 185 };
186 186
187 using variant_type = 187 using variant_type =
188 mpark::variant< 188 std::variant<
189 mpark::monostate, 189 std::monostate,
190 singleton_type, 190 singleton_type,
191 group_type>; 191 group_type>;
192 192