diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-09-17 15:40:08 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-09-23 16:57:03 +0200 |
commit | 8511c8b02fded7e3d698e38798aff1334bd38da6 (patch) | |
tree | dec67553899a28279ef2adc33cbecc107f07ce97 /src/corelib/serialization | |
parent | 298e41b830f60c0f2f078996ace77a4254a9f335 (diff) |
Convert all QT_VERSION checks to compare against QT_VERSION_CHECK()
The result is generally more readable.
Change-Id: I507f67954ecd38516de1b7a6f8244c233ee45ddf
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/serialization')
-rw-r--r-- | src/corelib/serialization/qdatastream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/serialization/qdatastream.h b/src/corelib/serialization/qdatastream.h index 28984d8ba9..24b5d82606 100644 --- a/src/corelib/serialization/qdatastream.h +++ b/src/corelib/serialization/qdatastream.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2021 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtCore module of the Qt Toolkit. @@ -101,7 +101,7 @@ public: Qt_6_2 = Qt_6_0, Qt_6_3 = Qt_6_0, Qt_DefaultCompiledVersion = Qt_6_3 -#if QT_VERSION >= 0x060400 +#if QT_VERSION >= QT_VERSION_CHECK(6, 4, 0) #error Add the datastream version for this Qt version and update Qt_DefaultCompiledVersion #endif }; |