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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/form.cpp b/lib/form.cpp index fa72c8a..18b495d 100644 --- a/lib/form.cpp +++ b/lib/form.cpp
@@ -37,10 +37,10 @@ namespace verbly {
37 proper_ = (std::get<int>(row[3]) == 1); 37 proper_ = (std::get<int>(row[3]) == 1);
38 length_ = std::get<int>(row[4]); 38 length_ = std::get<int>(row[4]);
39 39
40 if (!mpark::holds_alternative<std::nullptr_t>(row[5])) 40 if (!std::holds_alternative<std::nullptr_t>(row[5]))
41 { 41 {
42 hasFreq_ = true; 42 hasFreq_ = true;
43 frequency_ = mpark::get<int>(row[5]); 43 frequency_ = std::get<int>(row[5]);
44 } 44 }
45 45
46 pronunciations_ = db.pronunciations(*this, pronunciation::id, -1).all(); 46 pronunciations_ = db.pronunciations(*this, pronunciation::id, -1).all();