summaryrefslogtreecommitdiff
path: root/src/op.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-07 05:18:33 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-07 05:18:33 -0600
commit7eb1eddcf6a0454a68af8650ab9194da829aa41f (patch)
treeafab31c8fb268172833f831a4e27a80cabf7e28d /src/op.h
parent2b108c66ccb7750660611a1a9fe5eb6cf63a686b (diff)
downloadfork-ledger-7eb1eddcf6a0454a68af8650ab9194da829aa41f.tar.gz
fork-ledger-7eb1eddcf6a0454a68af8650ab9194da829aa41f.tar.bz2
fork-ledger-7eb1eddcf6a0454a68af8650ab9194da829aa41f.zip
Removed unused function expr_t::op_t::wrap_scope
Diffstat (limited to 'src/op.h')
-rw-r--r--src/op.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/op.h b/src/op.h
index 1807cdd7..8b914311 100644
--- a/src/op.h
+++ b/src/op.h
@@ -355,13 +355,6 @@ expr_t::op_t::wrap_functor(expr_t::func_t fobj) {
return temp;
}
-inline expr_t::ptr_op_t
-expr_t::op_t::wrap_scope(shared_ptr<scope_t> sobj) {
- ptr_op_t temp(new op_t(op_t::SCOPE));
- temp->set_scope(sobj);
- return temp;
-}
-
#define MAKE_FUNCTOR(x) expr_t::op_t::wrap_functor(bind(&x, this, _1))
#define WRAP_FUNCTOR(x) expr_t::op_t::wrap_functor(x)