summary refs log tree commit diff stats
path: root/lib/form.cpp
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/form.cpp
parentc498cfa5cfd6408b465e45409987467b47b2b73d (diff)
downloadverbly-6218b88920120dea23d605856b9d27f9deb4746c.tar.gz
verbly-6218b88920120dea23d605856b9d27f9deb4746c.tar.bz2
verbly-6218b88920120dea23d605856b9d27f9deb4746c.zip
Migrate from mpark::variant to std::variant
Diffstat (limited to 'lib/form.cpp')
-rw-r--r--lib/form.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/form.cpp b/lib/form.cpp index 4983274..571b1df 100644 --- a/lib/form.cpp +++ b/lib/form.cpp
@@ -25,11 +25,11 @@ namespace verbly {
25 25
26 form::form(const database& db, hatkirby::row row) : valid_(true) 26 form::form(const database& db, hatkirby::row row) : valid_(true)
27 { 27 {
28 id_ = mpark::get<int>(row[0]); 28 id_ = std::get<int>(row[0]);
29 text_ = mpark::get<std::string>(row[1]); 29 text_ = std::get<std::string>(row[1]);
30 complexity_ = mpark::get<int>(row[2]); 30 complexity_ = std::get<int>(row[2]);
31 proper_ = (mpark::get<int>(row[3]) == 1); 31 proper_ = (std::get<int>(row[3]) == 1);
32 length_ = mpark::get<int>(row[4]); 32 length_ = std::get<int>(row[4]);
33 33
34 pronunciations_ = db.pronunciations(*this, pronunciation::id, -1).all(); 34 pronunciations_ = db.pronunciations(*this, pronunciation::id, -1).all();
35 } 35 }