]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - include/preferencesystem.h
Callback: remove fixed-arity wrappers
[xonotic/netradiant.git] / include / preferencesystem.h
index bbc838ad11d5ae55f984ec5190ee9c7b4af61375..4ecbfc857e8e9c4f38fa4ec55a99cb5b417db06b 100644 (file)
@@ -25,8 +25,8 @@
 #include "generic/constant.h"
 #include "generic/callback.h"
 
-typedef Callback1<const char*> StringImportCallback;
-typedef Callback1<const StringImportCallback&> StringExportCallback;
+typedef Callback<void(const char*)> StringImportCallback;
+typedef Callback<void(const StringImportCallback&)> StringExportCallback;
 
 class PreferenceSystem
 {