diff options
author | Inho Lee <inho.lee@qt.io> | 2020-01-07 15:06:37 +0100 |
---|---|---|
committer | Inho Lee <inho.lee@qt.io> | 2020-01-09 01:33:08 +0000 |
commit | 445c1a873fcdc58a7880394b8d7473b7eff43d99 (patch) | |
tree | 1c05607bc5177b04d22d3a3d0d5802788719c5c0 /src/corelib | |
parent | 64359ad710756e7cca5ca553521b2aada18fb0fe (diff) |
Resolve a build error for ICC 19
This argument name makes an error with "line 302:Type t = Undefined;"
Change-Id: I5488ff02ab7c9f9391c17361da5e2aac2727a6a0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/serialization/qcborvalue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/serialization/qcborvalue.h b/src/corelib/serialization/qcborvalue.h index 914103b0a5..dcbe7efc26 100644 --- a/src/corelib/serialization/qcborvalue.h +++ b/src/corelib/serialization/qcborvalue.h @@ -320,9 +320,9 @@ private: return Type(quint8(st) | SimpleType); } - Q_DECL_CONSTEXPR static bool isTag_helper(Type t) + Q_DECL_CONSTEXPR static bool isTag_helper(Type tt) { - return t == Tag || t >= 0x10000; + return tt == Tag || tt >= 0x10000; } }; Q_DECLARE_SHARED(QCborValue) |