summary refs log tree commit diff stats
path: root/lib/form.cpp
diff options
context:
space:
mode:
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 }