summaryrefslogtreecommitdiff
path: root/src/op.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-06 23:04:27 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-06 23:04:27 -0600
commit71d0033b6f65260698cf0bf367002a9b6429a3fd (patch)
tree63fc939f0e613a1828fc0b7b473bc6c29578f074 /src/op.h
parent488355e5d92923e1d764625457b866f4fc83d58b (diff)
downloadfork-ledger-71d0033b6f65260698cf0bf367002a9b6429a3fd.tar.gz
fork-ledger-71d0033b6f65260698cf0bf367002a9b6429a3fd.tar.bz2
fork-ledger-71d0033b6f65260698cf0bf367002a9b6429a3fd.zip
Corrected several compile and link problems
Diffstat (limited to 'src/op.h')
-rw-r--r--src/op.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/op.h b/src/op.h
index 192c1f5e..1807cdd7 100644
--- a/src/op.h
+++ b/src/op.h
@@ -260,12 +260,8 @@ private:
checked_delete(this);
}
- friend inline void intrusive_ptr_add_ref(const op_t * op) {
- op->acquire();
- }
- friend inline void intrusive_ptr_release(const op_t * op) {
- op->release();
- }
+ friend void intrusive_ptr_add_ref(const op_t * op);
+ friend void intrusive_ptr_release(const op_t * op);
ptr_op_t copy(ptr_op_t _left = NULL, ptr_op_t _right = NULL) const {
ptr_op_t node(new_node(kind, _left, _right));