From bd5c443a6a7e93df59e0ef23aacba46b0916a8da Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 17 Oct 2009 20:21:18 +0000 Subject: Some windows compile fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11891 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/extensible.h | 11 ----------- include/users.h | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) (limited to 'include') 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(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); diff --git a/include/users.h b/include/users.h index 0ce9f59ab..385cd2dfe 100644 --- a/include/users.h +++ b/include/users.h @@ -59,7 +59,7 @@ enum RegistrationState { /* Required forward declaration */ class Channel; class UserResolver; -class ConfigTag; +struct ConfigTag; /** Holds information relevent to <connect allow> and <connect deny> tags in the config file. */ -- cgit v1.2.3