]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/DBobView.h
Callback: remove fixed-arity wrappers
[xonotic/netradiant.git] / contrib / bobtoolz / DBobView.h
index fe3d8dc3b85c0da41e26915c9fddb978b56c0ede..b20ef141417d3c6e4dbcca32f9f5f4c8d3279974 100644 (file)
@@ -78,7 +78,7 @@ void destroyShaders();
 void valueChanged( const char* value ){
        UpdatePath();
 }
-typedef MemberCaller1<DBobView, const char*, &DBobView::valueChanged> ValueChangedCaller;
+typedef MemberCaller<DBobView, void(const char*), &DBobView::valueChanged> ValueChangedCaller;
 void insert( const char* key, EntityKeyValue& value ){
        value.attach( ValueChangedCaller( *this ) );
 }