Don't use the deprecated 'register' storage specifier.
It is not only useless with any modern C++ compiler, but also deprecated in C++11. Removing it fixes Clang warnings on the subject. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -238,9 +238,9 @@ g_cclosure_user_marshal_VOID__OBJECT_OBJECT (GClosure *closure,
|
||||
gpointer arg_1,
|
||||
gpointer arg_2,
|
||||
gpointer data2);
|
||||
register GMarshalFunc_VOID__OBJECT_OBJECT callback;
|
||||
register GCClosure *cc = (GCClosure*) closure;
|
||||
register gpointer data1, data2;
|
||||
GMarshalFunc_VOID__OBJECT_OBJECT callback;
|
||||
GCClosure *cc = (GCClosure*) closure;
|
||||
gpointer data1, data2;
|
||||
|
||||
g_return_if_fail (n_param_values == 3);
|
||||
|
||||
|
Reference in New Issue
Block a user