diff options
-rw-r--r-- | src/corelib/tools/qmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qmap.h b/src/corelib/tools/qmap.h index 67412e88ca..afc4ca37c4 100644 --- a/src/corelib/tools/qmap.h +++ b/src/corelib/tools/qmap.h @@ -226,7 +226,7 @@ public: using difference_type = qptrdiff; using size_type = qsizetype; - constexpr QMap() noexcept {} + QMap() = default; // implicitly generated special member functions are OK! @@ -763,7 +763,7 @@ public: using difference_type = qptrdiff; using size_type = qsizetype; - constexpr QMultiMap() noexcept {} + QMultiMap() = default; // implicitly generated special member functions are OK! |