diff options
Diffstat (limited to 'util/statetrace/refcnt.hh')
-rw-r--r-- | util/statetrace/refcnt.hh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/util/statetrace/refcnt.hh b/util/statetrace/refcnt.hh index 6672d4a5f..d6c627b7a 100644 --- a/util/statetrace/refcnt.hh +++ b/util/statetrace/refcnt.hh @@ -55,18 +55,21 @@ class RefCountingPtr protected: T *data; - void copy(T *d) + void + copy(T *d) { data = d; if (data) data->incref(); } - void del() + void + del() { if (data) data->decref(); } - void set(T *d) + void + set(T *d) { if (data == d) return; |