[ox/oc] Add missing nodiscards

This commit is contained in:
Gary Talent 2021-04-20 23:18:05 -05:00
parent a86bad1719
commit 17165f5394

View File

@ -76,10 +76,12 @@ class OrganicClawWriter {
}
private:
[[nodiscard]]
constexpr bool targetValid() noexcept {
return static_cast<int>(m_fieldIt) == m_unionIdx || m_unionIdx == -1;
}
[[nodiscard]]
Json::Value &value(const char *key);
};