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/gtk2_in_qt4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gtk2_in_qt4.cpp') diff --git a/src/gtk2_in_qt4.cpp b/src/gtk2_in_qt4.cpp index c13561e..2bb3a03 100644 --- a/src/gtk2_in_qt4.cpp +++ b/src/gtk2_in_qt4.cpp @@ -27,7 +27,7 @@ extern "C" { -typedef struct _SuilGtk2InQt4Wrapper SuilGtk2InQt4Wrapper; +using SuilGtk2InQt4Wrapper = _SuilGtk2InQt4Wrapper; struct _SuilGtk2InQt4Wrapper { QX11EmbedContainer* host_widget; -- cgit v1.2.1