diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-04-24 08:12:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-04-24 08:12:25 +0200 |
commit | dd0833229e84999029e82f4f1e01ec015335f4d3 (patch) | |
tree | 1f22ff33864f679b83a4084daf55cbed28199edb /libodb-sqlite/odb/sqlite/blob.hxx | |
parent | 430d1036e57ac7ce502079e245a01e3969c9e300 (diff) |
Fix various warnings (uninitialized, loss of precision, macro redefinition)
Diffstat (limited to 'libodb-sqlite/odb/sqlite/blob.hxx')
-rw-r--r-- | libodb-sqlite/odb/sqlite/blob.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libodb-sqlite/odb/sqlite/blob.hxx b/libodb-sqlite/odb/sqlite/blob.hxx index a4892a2..eecc13e 100644 --- a/libodb-sqlite/odb/sqlite/blob.hxx +++ b/libodb-sqlite/odb/sqlite/blob.hxx @@ -30,7 +30,7 @@ namespace odb // BLOB size to provision for. Set before calling persist() or update(). // explicit - blob (std::size_t size = 0): size_ (size) {} + blob (std::size_t size = 0): size_ (size), rowid_ (0) {} std::size_t size () const {return size_;} void size (std::size_t s) {size_ = s;} |