summaryrefslogtreecommitdiff
path: root/tools/m4/class_shared.m4
diff options
context:
space:
mode:
Diffstat (limited to 'tools/m4/class_shared.m4')
-rw-r--r--tools/m4/class_shared.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/m4/class_shared.m4 b/tools/m4/class_shared.m4
index 4175b575..3442ad15 100644
--- a/tools/m4/class_shared.m4
+++ b/tools/m4/class_shared.m4
@@ -190,7 +190,7 @@ ifdef(`__BOOL_DO_NOT_DERIVE_GTYPE__',`dnl
void __CPPNAME__`'_Class::class_init_function(void* g_class, void* class_data)
{
- BaseClassType *const klass = static_cast<BaseClassType*>(g_class);
+ const auto klass = static_cast<BaseClassType*>(g_class);
CppClassParent::class_init_function(klass, class_data);
_IMPORT(SECTION_PCC_CLASS_INIT_VFUNCS)