aboutsummaryrefslogtreecommitdiff
path: root/odb/details/shared-ptr/base.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/shared-ptr/base.hxx')
-rw-r--r--odb/details/shared-ptr/base.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/odb/details/shared-ptr/base.hxx b/odb/details/shared-ptr/base.hxx
index e75fb4a..7cf44da 100644
--- a/odb/details/shared-ptr/base.hxx
+++ b/odb/details/shared-ptr/base.hxx
@@ -80,7 +80,10 @@ namespace odb
struct refcount_callback
{
void* arg;
- void (*zero_counter) (void*);
+
+ // Return true if the object should be deleted, false otherwise.
+ //
+ bool (*zero_counter) (void*);
};
private: