diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-14 10:19:40 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-14 10:42:27 -0500 |
commit | e4fe5974f123cfba6d8eff908e7f1772b0b9635f (patch) | |
tree | 69477cee57289107f2081eafecb95ffbcb4c47fa /lib/statement.h | |
parent | 2f938ddd17190497e21194a0ef3e1cfa14f68943 (diff) | |
download | verbly-e4fe5974f123cfba6d8eff908e7f1772b0b9635f.tar.gz verbly-e4fe5974f123cfba6d8eff908e7f1772b0b9635f.tar.bz2 verbly-e4fe5974f123cfba6d8eff908e7f1772b0b9635f.zip |
Migrate from mpark::variant to std::variant
Diffstat (limited to 'lib/statement.h')
-rw-r--r-- | lib/statement.h | 10 |
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 | ||