summaryrefslogtreecommitdiff
path: root/src/op.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-28 06:13:49 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-28 06:13:49 -0400
commit19cfd9e23b7cd4a7976591290b17e7ba20dd5a50 (patch)
treea8e2ae738d29748b1cf06c2259cf98bd939bce43 /src/op.h
parentc87aa9c2ea26333ec9baee6f4466496445eb8db8 (diff)
downloadfork-ledger-19cfd9e23b7cd4a7976591290b17e7ba20dd5a50.tar.gz
fork-ledger-19cfd9e23b7cd4a7976591290b17e7ba20dd5a50.tar.bz2
fork-ledger-19cfd9e23b7cd4a7976591290b17e7ba20dd5a50.zip
Fixed the printing of O_CONS nodes
Diffstat (limited to 'src/op.h')
-rw-r--r--src/op.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/op.h b/src/op.h
index 94df154e..ea787d8c 100644
--- a/src/op.h
+++ b/src/op.h
@@ -243,10 +243,10 @@ private:
checked_delete(this);
}
- friend inline void intrusive_ptr_add_ref(op_t * op) {
+ friend inline void intrusive_ptr_add_ref(const op_t * op) {
op->acquire();
}
- friend inline void intrusive_ptr_release(op_t * op) {
+ friend inline void intrusive_ptr_release(const op_t * op) {
op->release();
}