aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsample/handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsample/handle.h')
-rw-r--r--sources/shiboken2/tests/libsample/handle.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/shiboken2/tests/libsample/handle.h b/sources/shiboken2/tests/libsample/handle.h
index 18221c763..824c28b9a 100644
--- a/sources/shiboken2/tests/libsample/handle.h
+++ b/sources/shiboken2/tests/libsample/handle.h
@@ -33,14 +33,14 @@
/* See http://bugs.pyside.org/show_bug.cgi?id=1105. */
namespace Foo {
- typedef unsigned long HANDLE;
+ using HANDLE = unsigned long;
}
class LIBSAMPLE_API OBJ
{
};
-typedef OBJ* HANDLE;
+using HANDLE = OBJ *;
class LIBSAMPLE_API HandleHolder
{
@@ -63,7 +63,7 @@ private:
};
struct LIBSAMPLE_API PrimitiveStruct {};
-typedef struct PrimitiveStruct* PrimitiveStructPtr;
+using PrimitiveStructPtr = struct PrimitiveStruct *;
struct LIBSAMPLE_API PrimitiveStructPointerHolder
{
PrimitiveStructPtr primitiveStructPtr;