From 376434fbe0a3a8a185e2fb6dcdabca97fe0379c1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 19 Aug 2010 11:22:50 +0200 Subject: Add default value (0) to reset --- odb/details/shared-ptr.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_); -- cgit v1.1