Kaydet (Commit) b3aadaa5 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Hopefull this is the last of std::unique_ptr.

Again, this is C++11 specific which we can't use.

Change-Id: I766cdf56cd49ba1611cf0172a52a5c0d950d33a0
üst c2bb1a1f
...@@ -765,10 +765,10 @@ private: ...@@ -765,10 +765,10 @@ private:
}; };
template <class Op> template <class Op>
std::unique_ptr<DynamicKernelArgument> SoPHelper(const std::string &ts, boost::shared_ptr<DynamicKernelArgument> SoPHelper(const std::string &ts,
boost::shared_ptr<FormulaTreeNode> ft) boost::shared_ptr<FormulaTreeNode> ft)
{ {
return std::unique_ptr<DynamicKernelArgument>( return boost::shared_ptr<DynamicKernelArgument>(
new DynamicKernelSoPArguments<Op>(ts, ft)); new DynamicKernelSoPArguments<Op>(ts, ft));
} }
......
Markdown is supported
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