]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/preferencedictionary.h
Callback: remove fixed-arity wrappers
[xonotic/netradiant.git] / radiant / preferencedictionary.h
index ce3f768685b40ff5d696fe5c5381434fc24a9a31..5d2dbc071cba0711a72d306a18b7b56441952b21 100644 (file)
@@ -91,7 +91,7 @@ void importPref( const char* name, const char* value ){
 inline void XMLPreference_importString( XMLImporter& importer, const char* value ){
        importer.write( value, string_length( value ) );
 }
-typedef ReferenceCaller1<XMLImporter, const char*, XMLPreference_importString> XMLPreferenceImportStringCaller;
+typedef ReferenceCaller<XMLImporter, void(const char*), XMLPreference_importString> XMLPreferenceImportStringCaller;
 
 class XMLPreferenceDictionaryExporter : public XMLExporter
 {