diff options
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); |