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

Removing some unused idea that got left in code.

parent 769864bf
Branches
No related merge requests found
......@@ -50,7 +50,7 @@ protected:
* @todo need to change copying of Variables once a clone method is available for them.
*/
template <class T>
class Operator : public FunctionalOperator, public detail::PtrCleanCloneable<Operator<T> >
class Operator : public FunctionalOperator
{
public:
Operator(const boost::shared_ptr<Function<T> >& body, const Variables& variables);
......
......@@ -6,31 +6,6 @@
namespace Wccl {
namespace detail {
template<class T>
class PtrCloneable
{
public:
/**
* @returns Shared pointer to a copy of the object.
*/
boost::shared_ptr<T> clone_ptr() const;
};
template<class T>
class PtrCleanCloneable : public PtrCloneable<T>
{
public:
/**
* @returns Shared pointer to a copy of the object.
* The copy has "clean" method called for convenience.
*/
boost::shared_ptr<T> clone_clean_ptr() const;
};
}
/**
* Abstract base class for WCCL expressions coming from parser and thus
* having a set of variables.
......
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