X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=include%2Fcaller.h;h=c3a29e8c2c0333d57412c7ccf0b053ddb18b797b;hb=cada37c7b51c0f1bee8117caa0123412b2e48081;hp=563577ac283b0640462f066dabbb2d0426692490;hpb=9b9140d5f8a94ba160120ab91821338f08fba6e1;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/caller.h b/include/caller.h index 563577ac2..c3a29e8c2 100644 --- a/include/caller.h +++ b/include/caller.h @@ -19,11 +19,9 @@ */ -#ifndef CALLER_H -#define CALLER_H +#pragma once -/* Pending some sort of C++11 support */ -#if 0 +#if defined HAS_CXX11_VARIADIC_TEMPLATES template class CoreExport Handler : public classbase { @@ -355,5 +353,3 @@ template { public: NAME() { } virtual ~NAME() { } virtual RETURN Call(V1, V2, V3, V4, V5, V6, V7, V8); } #endif - -#endif