summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yapf/autocopyptr.hpp3
-rw-r--r--yapf/countedptr.hpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/yapf/autocopyptr.hpp b/yapf/autocopyptr.hpp
index 42822c324..fb6bfa028 100644
--- a/yapf/autocopyptr.hpp
+++ b/yapf/autocopyptr.hpp
@@ -3,6 +3,7 @@
#ifndef AUTOCOPYPTR_HPP
#define AUTOCOPYPTR_HPP
+#if 0 // reenable when needed
/** CAutoCopyPtrT - kind of CoW (Copy on Write) pointer.
* It is non-invasive smart pointer (reference counter is held outside
* of Tdata).
@@ -78,5 +79,5 @@ public:
}
};
-
+#endif /* 0 */
#endif /* AUTOCOPYPTR_HPP */
diff --git a/yapf/countedptr.hpp b/yapf/countedptr.hpp
index c1bb48e06..e63e47fb5 100644
--- a/yapf/countedptr.hpp
+++ b/yapf/countedptr.hpp
@@ -3,6 +3,7 @@
#ifndef COUNTEDPTR_HPP
#define COUNTEDPTR_HPP
+#if 0 // reenable when needed
/** @file CCountedPtr - smart pointer implementation */
/** CCountedPtr - simple reference counting smart pointer.
@@ -95,5 +96,5 @@ FORCEINLINE void CCountedPtr<Tcls_>::Assign(Tcls* pT)
}
}
-
+#endif /* 0 */
#endif /* COUNTEDPTR_HPP */