X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fbase.h;h=19222a6f5d2ac4ac592ae84797c7044c31d7a1a1;hb=584cbe80152ed3bb8cdbedc41c43d63cd10ca799;hp=3e868ff22e7a20ab8594d49d2841ffa6bd8c39f4;hpb=5b9682275e384635a1fd9f7320cf4d9a604a43b4;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/base.h b/include/base.h index 3e868ff22..19222a6f5 100644 --- a/include/base.h +++ b/include/base.h @@ -26,6 +26,7 @@ #include #include #include +#include /** Dummy class to help enforce culls being parent-called up to classbase */ class CullResult @@ -121,7 +122,7 @@ class CoreExport usecountbase }; template -class CoreExport reference +class reference { T* value; public: @@ -200,7 +201,7 @@ class CoreExport CoreException : public std::exception * Actually no, it does nothing. Never mind. * @throws Nothing! */ - virtual ~CoreException() throw() {}; + virtual ~CoreException() throw() {} /** Returns the reason for the exception. * The module should probably put something informative here as the user will see this upon failure. */