summaryrefslogtreecommitdiff
path: root/include/extensible.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-17 20:21:18 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-17 20:21:18 +0000
commitbd5c443a6a7e93df59e0ef23aacba46b0916a8da (patch)
tree0ed61f09dfb51bc656f3ddcfda97a1d5798c5eec /include/extensible.h
parent822e2ca5aa84cb5f46bfa42b8bb7481231fdf691 (diff)
Some windows compile fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11891 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/extensible.h')
-rw-r--r--include/extensible.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/extensible.h b/include/extensible.h
index ca9c44546..449c7b38a 100644
--- a/include/extensible.h
+++ b/include/extensible.h
@@ -114,17 +114,6 @@ class SimpleExtItem : public LocalExtItem
return static_cast<T*>(get_raw(container));
}
- inline T* getNew(Extensible* container) const
- {
- T* ptr = get(container);
- if (!ptr)
- {
- ptr = new T;
- set_raw(container, ptr);
- }
- return ptr;
- }
-
inline void set(Extensible* container, const T& value)
{
T* ptr = new T(value);