Fix a few warnings

This commit is contained in:
eelke 2026-10-20 19:30:10 +02:00
parent 8a9cbce1cc
commit 1a1bbd0838
3 changed files with 4 additions and 3 deletions

View file

@ -77,7 +77,7 @@ void PgSequenceContainer::loadAll(Pgsql::Connection &conn)
q += ", start_value, increment_by, max_value, \n"
" min_value, cache_value, is_cycled";
}
q += "\nFROM " + std::string(fqn.data(), static_cast<size_t>(fqn.count()));
q += "\nFROM " + std::string(fqn.data(), static_cast<size_t>(fqn.size()));
auto && res = conn.query(q.c_str());
if (res.rows() == 1) {
Pgsql::Row row(res, 0);