diff options
Diffstat (limited to 'lib/database.cpp')
-rw-r--r-- | lib/database.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/database.cpp b/lib/database.cpp index 96eed45..d5ff37e 100644 --- a/lib/database.cpp +++ b/lib/database.cpp | |||
@@ -12,8 +12,8 @@ namespace verbly { | |||
12 | hatkirby::row version = | 12 | hatkirby::row version = |
13 | ppdb_.queryFirst("SELECT major, minor FROM version"); | 13 | ppdb_.queryFirst("SELECT major, minor FROM version"); |
14 | 14 | ||
15 | major_ = mpark::get<int>(version[0]); | 15 | major_ = std::get<int>(version[0]); |
16 | minor_ = mpark::get<int>(version[1]); | 16 | minor_ = std::get<int>(version[1]); |
17 | 17 | ||
18 | if (major_ != DATABASE_MAJOR_VERSION) | 18 | if (major_ != DATABASE_MAJOR_VERSION) |
19 | { | 19 | { |
@@ -62,7 +62,7 @@ namespace verbly { | |||
62 | 62 | ||
63 | for (hatkirby::row& r : rows) | 63 | for (hatkirby::row& r : rows) |
64 | { | 64 | { |
65 | result.emplace(std::move(mpark::get<std::string>(r[0]))); | 65 | result.emplace(std::move(std::get<std::string>(r[0]))); |
66 | } | 66 | } |
67 | 67 | ||
68 | return result; | 68 | return result; |
@@ -79,7 +79,7 @@ namespace verbly { | |||
79 | 79 | ||
80 | for (hatkirby::row& r : rows) | 80 | for (hatkirby::row& r : rows) |
81 | { | 81 | { |
82 | result.emplace(std::move(mpark::get<std::string>(r[0]))); | 82 | result.emplace(std::move(std::get<std::string>(r[0]))); |
83 | } | 83 | } |
84 | 84 | ||
85 | return result; | 85 | return result; |