QMap/QMultiMap: use =default for their default constructors

Change-Id: I48e5bd8367fc6040128a50cd08c803310d3a4507
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Giuseppe D'Angelo 2020-06-24 20:36:04 +02:00
parent 7d7e62967f
commit 9edfb7a1b5
1 changed files with 2 additions and 2 deletions

View File

@ -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!