[ox/oc] Add missing nodiscards
This commit is contained in:
parent
a86bad1719
commit
17165f5394
2
deps/ox/src/ox/oc/write.hpp
vendored
2
deps/ox/src/ox/oc/write.hpp
vendored
@ -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);
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user