From 34b1f11762ddddd6a606731b86331b1f7e2d6f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20K=C4=99dzia?= <pawel.kedzia@pwr.wroc.pl> Date: Fri, 6 May 2011 15:02:47 +0200 Subject: [PATCH] some fixes --- swig/libcclfunctionaloperator.i | 2 +- swig/libccloperator.i | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/swig/libcclfunctionaloperator.i b/swig/libcclfunctionaloperator.i index 8480295..500352b 100644 --- a/swig/libcclfunctionaloperator.i +++ b/swig/libcclfunctionaloperator.i @@ -14,7 +14,7 @@ %include "std_string.i" %include "boost_shared_ptr.i" -%template(ValuePtr) boost::shared_ptr<Wccl::Value>; +// %template(ValuePtr) boost::shared_ptr<Wccl::Value>; namespace Wccl { class FunctionalOperator : public ParsedExpression { diff --git a/swig/libccloperator.i b/swig/libccloperator.i index f6e5b52..6f32a56 100644 --- a/swig/libccloperator.i +++ b/swig/libccloperator.i @@ -60,10 +60,10 @@ namespace Wccl { %template (StrSetOperator) Operator<StrSet>; %template (PositionOperator) Operator<Position>; - %template (BoolOperatorPtr) shared_ptr<Wccl::Operator<Bool> >; - %template (TSetOperatorPtr) shared_ptr<Wccl::Operator<TSet> >; - %template (StrSetOperatorPtr) shared_ptr<Wccl::Operator<StrSet> >; - %template (PositionOperatorPtr) shared_ptr<Wccl::Operator<Position> >; + %template (BoolOperatorPtr) boost::shared_ptr<Operator<Bool> >; + %template (TSetOperatorPtr) boost::shared_ptr<Operator<TSet> >; + %template (StrSetOperatorPtr) boost::shared_ptr<Operator<StrSet> >; + %template (PositionOperatorPtr) boost::shared_ptr<Operator<Position> >; } using namespace boost; -- GitLab