aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/tools/filetime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/tools/filetime.h')
-rw-r--r--src/lib/corelib/tools/filetime.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/corelib/tools/filetime.h b/src/lib/corelib/tools/filetime.h
index 73e9d4544..7daec6415 100644
--- a/src/lib/corelib/tools/filetime.h
+++ b/src/lib/corelib/tools/filetime.h
@@ -75,12 +75,12 @@ class QBS_AUTOTEST_EXPORT FileTime
public:
#if defined(Q_OS_UNIX)
#if HAS_CLOCK_GETTIME
- typedef timespec InternalType;
+ using InternalType = timespec;
#else
- typedef time_t InternalType;
+ using InternalType = time_t;
#endif // HAS_CLOCK_GETTIME
#elif defined(Q_OS_WIN)
- typedef quint64 InternalType;
+ using InternalType = quint64;
#else
# error unknown platform
#endif