diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-17 20:21:18 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-17 20:21:18 +0000 |
commit | bd5c443a6a7e93df59e0ef23aacba46b0916a8da (patch) | |
tree | 0ed61f09dfb51bc656f3ddcfda97a1d5798c5eec /include/extensible.h | |
parent | 822e2ca5aa84cb5f46bfa42b8bb7481231fdf691 (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.h | 11 |
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); |