summaryrefslogtreecommitdiff
path: root/yapf
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-11-16 00:09:39 +0000
committerDarkvater <darkvater@openttd.org>2006-11-16 00:09:39 +0000
commit5a9e70b7205529339cb06eb24e8e1c0ca02f7630 (patch)
tree0b5dd2d27ebefb7c1ec9078b4634b1db1f76c553 /yapf
parent336e0a177514b515fa6027723b822df6412e95a2 (diff)
downloadopenttd-5a9e70b7205529339cb06eb24e8e1c0ca02f7630.tar.xz
(svn r7163) -Codechange: Disable compilation of additional yapf code.
Diffstat (limited to 'yapf')
-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 */