changeset 5094:aebd080d3753 draft

(svn r7163) -Codechange: Disable compilation of additional yapf code.
author Darkvater <Darkvater@openttd.org>
date Thu, 16 Nov 2006 00:09:39 +0000
parents cdde161c4ede
children 5446b34b61a9
files yapf/autocopyptr.hpp yapf/countedptr.hpp
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 	}
 };
 
-
+#endif /* 0 */
 #endif /* AUTOCOPYPTR_HPP */
--- 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 @@
 	}
 }
 
-
+#endif /* 0 */
 #endif /* COUNTEDPTR_HPP */