summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-11 20:53:23 +0000
committerrubidium <rubidium@openttd.org>2009-11-11 20:53:23 +0000
commit83e7ca3dc80bcb45bb75e0f0d9fc7fb4723f7293 (patch)
treeb36f83480a0142c092b7ac9609dcb43739448a0d /src
parentac25ba62d2c6e1e19d3b1bbc5978b976348611c1 (diff)
downloadopenttd-83e7ca3dc80bcb45bb75e0f0d9fc7fb4723f7293.tar.xz
(svn r18042) -Cleanup: remove some stale comments
Diffstat (limited to 'src')
-rw-r--r--src/core/alloc_type.hpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/alloc_type.hpp b/src/core/alloc_type.hpp
index b1b27c194..9cac62758 100644
--- a/src/core/alloc_type.hpp
+++ b/src/core/alloc_type.hpp
@@ -170,18 +170,12 @@ public:
/**
* Memory release for a single class instance.
* @param ptr the memory to free.
- *
- * @warning The value of the \a size parameter can only be trusted for
- * classes that have their own (virtual) destructor method.
*/
FORCEINLINE void operator delete(void *ptr) { free(ptr); }
/**
* Memory release for an array of class instances.
* @param ptr the memory to free.
- *
- * @warning The value of the \a size parameter can only be trusted for
- * classes that have their own (virtual) destructor method.
*/
FORCEINLINE void operator delete[](void *ptr) { free(ptr); }
};