]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/textureentry.h
Callback: remove fixed-arity wrappers
[xonotic/netradiant.git] / radiant / textureentry.h
index d36aff6b36dc97be59cabd784c89bceb1ebb2867..a09ae15453a477b0b00e86d75c17191577647855 100644 (file)
@@ -43,7 +43,7 @@ public:
 
     void append(const char *string);
 
-    using AppendCaller = MemberCaller1<EntryCompletion, const char *, &EntryCompletion::append>;
+    using AppendCaller = MemberCaller<EntryCompletion, void(const char *), &EntryCompletion::append>;
 
     void fill();
 
@@ -51,7 +51,7 @@ public:
 
     void update();
 
-    using UpdateCaller = MemberCaller<EntryCompletion, &EntryCompletion::update>;
+    using UpdateCaller = MemberCaller<EntryCompletion, void(), &EntryCompletion::update>;
 };
 
 class TextureNameList {