diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-08-30 12:10:01 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-08-30 12:10:01 +0200 |
commit | d54eec6dd8d44cba3c1e935f72089dbe675e0820 (patch) | |
tree | f703c96d1fd77456d9a4b3754621a807e6e3efa7 | |
parent | 5661a9eddbb86f22e40b70bef64581e590ed34c6 (diff) |
Don't CoreExport reference, fixes m_dnsbl on Windows
The explicit instantiations of reference are now useless; remove
-rw-r--r-- | include/base.h | 2 | ||||
-rw-r--r-- | win/inspircd_win32wrapper.cpp | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/include/base.h b/include/base.h index 5308ed655..0a4456f3a 100644 --- a/include/base.h +++ b/include/base.h @@ -122,7 +122,7 @@ class CoreExport usecountbase }; template <typename T> -class CoreExport reference +class reference { T* value; public: diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp index 4592aa5d1..048baf38b 100644 --- a/win/inspircd_win32wrapper.cpp +++ b/win/inspircd_win32wrapper.cpp @@ -221,10 +221,3 @@ DWORD CWin32Exception::GetErrorCode() { return dwErrorCode; } - -#include "../src/modules/m_spanningtree/link.h" -#include "../src/modules/ssl.h" -template class reference<Link>; -template class reference<Autoconnect>; -template class reference<ssl_cert>; -template class reference<OperInfo>; |