From e52a1d9341edbaa1affc55d41cccbb9475027183 Mon Sep 17 00:00:00 2001 From: Adam Wardynski <award@.(win7-laptop)> Date: Fri, 1 Apr 2011 12:44:23 +0200 Subject: [PATCH] typedef tying to type in LogicalPredicate, the reason for last change. --- libwccl/ops/match/applyoperator.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libwccl/ops/match/applyoperator.h b/libwccl/ops/match/applyoperator.h index 526218a..2feea7c 100644 --- a/libwccl/ops/match/applyoperator.h +++ b/libwccl/ops/match/applyoperator.h @@ -1,11 +1,12 @@ #ifndef LIBWCCL_OPS_MATCH_APPLYOPERATOR_H #define LIBWCCL_OPS_MATCH_APPLYOPERATOR_H -#include <libwccl/ops/function.h> +#include <libwccl/ops/functions/bool/predicates/logicalpredicate.h> #include <libwccl/ops/match/matchoperator.h> #include <libwccl/ops/match/matchaction.h> + namespace Wccl { /** @@ -14,7 +15,7 @@ namespace Wccl { class ApplyOperator : public Expression { public: - + typedef LogicalPredicate::BoolFunctionPtrVector BoolFunctionPtrVector; /** * @param cur_iter_pos Accessor to the "$_" variable * @param matches Accessor to the "$m:_M" variable @@ -27,9 +28,8 @@ public: const VariableAccessor<Match>& matches, const boost::shared_ptr<const MatchOperator>& match_op, const boost::shared_ptr<const std::vector<boost::shared_ptr<MatchAction> > >& actions, - const boost::shared_ptr<const std::vector<boost::shared_ptr<Function<Bool> > > >& conditions - = boost::shared_ptr<const std::vector<boost::shared_ptr<Function<Bool> > > >( - new boost::shared_ptr<const std::vector<boost::shared_ptr<Function<Bool> > > >())); + const boost::shared_ptr<const BoolFunctionPtrVector>& conditions + = boost::shared_ptr<const BoolFunctionPtrVector>(new BoolFunctionPtrVector())); /** * @returns Name of the operator. -- GitLab