Fix warnings and dependencies

This commit is contained in:
eelke 2025-02-23 16:52:39 +01:00
parent 86a9a0d709
commit ee86327869
14 changed files with 38 additions and 43 deletions

View file

@ -128,7 +128,7 @@ Value::operator int64_t() const
if (m_val == nullptr)
return 0LL;
const int len = std::strlen(m_val);
const size_t len = std::strlen(m_val);
if (len > 0) {
char *endptr = nullptr;
int64_t result = std::strtoll(m_val, &endptr, 10);
@ -136,7 +136,6 @@ Value::operator int64_t() const
return result;
}
throw std::runtime_error("Value conversion to int64_t failed");
// return std::strtoll(m_val, nullptr, 10);
}
Value::operator bool() const