From 5ea33cc003ce4d3ef68e3b6e954c841f21db8efb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 22 Dec 2020 15:55:03 +0100 Subject: Avoid "typedef" in C++ --- src/qt4_in_gtk2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qt4_in_gtk2.cpp') diff --git a/src/qt4_in_gtk2.cpp b/src/qt4_in_gtk2.cpp index bba1a03..a9631c1 100644 --- a/src/qt4_in_gtk2.cpp +++ b/src/qt4_in_gtk2.cpp @@ -29,8 +29,8 @@ extern "C" { #define SUIL_TYPE_QT_WRAPPER (suil_qt_wrapper_get_type()) #define SUIL_QT_WRAPPER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SUIL_TYPE_QT_WRAPPER, SuilQtWrapper)) -typedef struct _SuilQtWrapper SuilQtWrapper; -typedef struct _SuilQtWrapperClass SuilQtWrapperClass; +using SuilQtWrapper = _SuilQtWrapper; +using SuilQtWrapperClass = _SuilQtWrapperClass; struct _SuilQtWrapper { GtkSocket socket; -- cgit v1.2.1