From 6b1a78ff7555cfc1dffd70ccff7a0d0f703ce07f Mon Sep 17 00:00:00 2001
From: Adam Wardynski <award@.(B-4.4.46a)>
Date: Thu, 25 Nov 2010 21:30:27 +0100
Subject: [PATCH] Removing some unused idea that got left in code.

---
 libwccl/ops/operator.h         |  2 +-
 libwccl/ops/parsedexpression.h | 25 -------------------------
 2 files changed, 1 insertion(+), 26 deletions(-)

diff --git a/libwccl/ops/operator.h b/libwccl/ops/operator.h
index 19dc17e..6ac04d9 100644
--- a/libwccl/ops/operator.h
+++ b/libwccl/ops/operator.h
@@ -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);
diff --git a/libwccl/ops/parsedexpression.h b/libwccl/ops/parsedexpression.h
index 532d342..efe9905 100644
--- a/libwccl/ops/parsedexpression.h
+++ b/libwccl/ops/parsedexpression.h
@@ -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.
-- 
GitLab