aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsample/size.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsample/size.h')
-rw-r--r--sources/shiboken2/tests/libsample/size.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken2/tests/libsample/size.h b/sources/shiboken2/tests/libsample/size.h
index c72021231..76502b416 100644
--- a/sources/shiboken2/tests/libsample/size.h
+++ b/sources/shiboken2/tests/libsample/size.h
@@ -188,8 +188,8 @@ inline const Size operator/(const Size& s, double div)
return Size(s.m_width / div, s.m_height / div);
}
-typedef double real;
-typedef unsigned short ushort;
+using real = double;
+using ushort = unsigned short;
class LIBSAMPLE_API SizeF
{
public: