summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-08-30 12:10:01 +0200
committerattilamolnar <attilamolnar@hush.com>2013-08-30 12:10:01 +0200
commitd54eec6dd8d44cba3c1e935f72089dbe675e0820 (patch)
treef703c96d1fd77456d9a4b3754621a807e6e3efa7
parent5661a9eddbb86f22e40b70bef64581e590ed34c6 (diff)
Don't CoreExport reference, fixes m_dnsbl on Windows
The explicit instantiations of reference are now useless; remove
-rw-r--r--include/base.h2
-rw-r--r--win/inspircd_win32wrapper.cpp7
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>;