Skip to content
Snippets Groups Projects
Commit e52a1d93 authored by Adam Wardynski's avatar Adam Wardynski
Browse files

typedef tying to type in LogicalPredicate, the reason for last change.

parent 9e3c6e9c
Branches
No related merge requests found
#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.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment