aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-11-14 13:23:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-11-14 13:23:27 +0200
commit79132470210ff14f1809412b69fb3e7e5467d744 (patch)
treee9f8395e79c7cd2f80e9e67b82101b6e04d74ce4
parent7ee424ec2fc3ea023766cfd1b2606bb8194e7343 (diff)
Fix GCC maybe used uninitialized warning
-rw-r--r--odb/lazy-ptr-impl.ixx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/lazy-ptr-impl.ixx b/odb/lazy-ptr-impl.ixx
index a86992f..b358519 100644
--- a/odb/lazy-ptr-impl.ixx
+++ b/odb/lazy-ptr-impl.ixx
@@ -10,7 +10,7 @@ namespace odb
inline lazy_ptr_base::
lazy_ptr_base ()
- : id_ (0), db_ (0), loader_ (0)
+ : id_ (0), db_ (0), loader_ (0), free_ (0), copy_ (0)
{
}