diff options
Diffstat (limited to 'lib/form.cpp')
-rw-r--r-- | lib/form.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/form.cpp b/lib/form.cpp index 06a00b9..256dc59 100644 --- a/lib/form.cpp +++ b/lib/form.cpp | |||
@@ -30,11 +30,11 @@ namespace verbly { | |||
30 | 30 | ||
31 | form::form(const database& db, hatkirby::row row) : valid_(true) | 31 | form::form(const database& db, hatkirby::row row) : valid_(true) |
32 | { | 32 | { |
33 | id_ = mpark::get<int>(row[0]); | 33 | id_ = std::get<int>(row[0]); |
34 | text_ = mpark::get<std::string>(row[1]); | 34 | text_ = std::get<std::string>(row[1]); |
35 | complexity_ = mpark::get<int>(row[2]); | 35 | complexity_ = std::get<int>(row[2]); |
36 | proper_ = (mpark::get<int>(row[3]) == 1); | 36 | proper_ = (std::get<int>(row[3]) == 1); |
37 | length_ = mpark::get<int>(row[4]); | 37 | length_ = std::get<int>(row[4]); |
38 | 38 | ||
39 | pronunciations_ = db.pronunciations(*this, pronunciation::id, -1).all(); | 39 | pronunciations_ = db.pronunciations(*this, pronunciation::id, -1).all(); |
40 | } | 40 | } |