aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/details/shared-ptr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/details/shared-ptr.hxx b/odb/details/shared-ptr.hxx
index 67b67df..6a9a640 100644
--- a/odb/details/shared-ptr.hxx
+++ b/odb/details/shared-ptr.hxx
@@ -121,7 +121,7 @@ namespace odb
}
void
- reset (X* x)
+ reset (X* x = 0)
{
if (x_ != 0)
base::dec (x_);