From 7eb1eddcf6a0454a68af8650ab9194da829aa41f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 7 Mar 2012 05:18:33 -0600 Subject: Removed unused function expr_t::op_t::wrap_scope --- src/op.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/op.h') 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 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) -- cgit v1.2.3