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
commita15768953b8ba5aabdd6a18cd0b69d209178387a (patch)
tree0b5dd2d27ebefb7c1ec9078b4634b1db1f76c553 /yapf
parente18c9f384d030fea05cffbbd66ba2d78297bf641 (diff)
downloadopenttd-a15768953b8ba5aabdd6a18cd0b69d209178387a.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 */