diff options
Diffstat (limited to 'lib/notion.cpp')
-rw-r--r-- | lib/notion.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/notion.cpp b/lib/notion.cpp index 733c852..94a5194 100644 --- a/lib/notion.cpp +++ b/lib/notion.cpp | |||
@@ -60,19 +60,19 @@ namespace verbly { | |||
60 | 60 | ||
61 | notion::notion(const database& db, hatkirby::row row) : valid_(true) | 61 | notion::notion(const database& db, hatkirby::row row) : valid_(true) |
62 | { | 62 | { |
63 | id_ = mpark::get<int>(row[0]); | 63 | id_ = std::get<int>(row[0]); |
64 | partOfSpeech_ = static_cast<part_of_speech>(mpark::get<int>(row[1])); | 64 | partOfSpeech_ = static_cast<part_of_speech>(std::get<int>(row[1])); |
65 | 65 | ||
66 | if (!mpark::holds_alternative<std::nullptr_t>(row[2])) | 66 | if (!std::holds_alternative<std::nullptr_t>(row[2])) |
67 | { | 67 | { |
68 | hasWnid_ = true; | 68 | hasWnid_ = true; |
69 | wnid_ = mpark::get<int>(row[2]); | 69 | wnid_ = std::get<int>(row[2]); |
70 | } | 70 | } |
71 | 71 | ||
72 | if (!mpark::holds_alternative<std::nullptr_t>(row[3])) | 72 | if (!std::holds_alternative<std::nullptr_t>(row[3])) |
73 | { | 73 | { |
74 | hasNumOfImages_ = true; | 74 | hasNumOfImages_ = true; |
75 | numOfImages_ = mpark::get<int>(row[3]); | 75 | numOfImages_ = std::get<int>(row[3]); |
76 | } | 76 | } |
77 | } | 77 | } |
78 | 78 | ||