X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=libs%2Fgeneric%2Fcallback.h;h=36653a73d4297b85122525d4c762a217e755bfd1;hp=68fc0662c6d17c049ba540a3cebc219a7e5b4b04;hb=620247ad5c80068970db40fa5aa87d9fdb24bcfc;hpb=31af7f484e9712b141c72360e4c295585b1e9276 diff --git a/libs/generic/callback.h b/libs/generic/callback.h index 68fc0662..36653a73 100644 --- a/libs/generic/callback.h +++ b/libs/generic/callback.h @@ -215,7 +215,7 @@ public: } }; -template +template class CallbackBase { void* m_environment; @@ -235,17 +235,17 @@ public: } }; -template +template inline bool operator==(const CallbackBase& self, const CallbackBase& other) { return self.getEnvironment() == other.getEnvironment() && self.getThunk() == other.getThunk(); } -template +template inline bool operator!=(const CallbackBase& self, const CallbackBase& other) { return !(self == other); } -template +template inline bool operator<(const CallbackBase& self, const CallbackBase& other) { return self.getEnvironment() < other.getEnvironment() ||