diff options
Diffstat (limited to 'project2/common/aggregate.h')
-rw-r--r-- | project2/common/aggregate.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/project2/common/aggregate.h b/project2/common/aggregate.h index 90d8248..222cf09 100644 --- a/project2/common/aggregate.h +++ b/project2/common/aggregate.h @@ -24,8 +24,8 @@ class DLL_PUBLIC ValueAggregate : public Aggregate { virtual VariableType resultValue() const = 0; }; -typedef boost::intrusive_ptr<const ValueAggregate> ValueAggregateCPtr; -typedef AdHoc::Factory<ValueAggregate, const ScriptNode *> ValueAggregateFactory; +typedef std::shared_ptr<const ValueAggregate> ValueAggregateCPtr; +typedef AdHoc::Factory<ValueAggregate, std::shared_ptr<const ScriptNode>> ValueAggregateFactory; class DLL_PUBLIC SetAggregate : public Aggregate { public: @@ -34,7 +34,7 @@ class DLL_PUBLIC SetAggregate : public Aggregate { virtual void onResultValues(const UseAgg &) const = 0; }; -typedef boost::intrusive_ptr<const SetAggregate> SetAggregateCPtr; -typedef AdHoc::Factory<SetAggregate, const ScriptNode *> SetAggregateFactory; +typedef std::shared_ptr<const SetAggregate> SetAggregateCPtr; +typedef AdHoc::Factory<SetAggregate, std::shared_ptr<const ScriptNode>> SetAggregateFactory; #endif |