diff options
author | Christian Stenger <christian.stenger@qt.io> | 2018-04-05 06:50:17 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2018-04-05 06:25:15 +0000 |
commit | bf285af0071bf30730a5d61fa80b7bc890465177 (patch) | |
tree | 0c5a0b09db06b5de2375806486b6084470983a99 /src/libs/utils/smallstringlayout.h | |
parent | 704a70810d754e69acf3fb85b7557a41e9e5fbd4 (diff) |
Utils: Fix compile with gcc 4.9
Otherwise compile fails with
constexpr constructor does not have empty body.
Broke with 2f8c075a0111f496269fdb6d67c9d40fcb461c6a.
Change-Id: I04ce03eaf51ddb3b4233abc4b51a553355e28e04
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/libs/utils/smallstringlayout.h')
-rw-r--r-- | src/libs/utils/smallstringlayout.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libs/utils/smallstringlayout.h b/src/libs/utils/smallstringlayout.h index 5f1406951e0..dc6867af5d7 100644 --- a/src/libs/utils/smallstringlayout.h +++ b/src/libs/utils/smallstringlayout.h @@ -155,7 +155,6 @@ struct StringDataLayout { : ((MaximumShortStringDataAreaSize + 2) % 16) == 0, "Size + 1 must be dividable by 16 if under 64 and Size + 2 must be dividable by 16 if over 64!"); - constexpr StringDataLayout() noexcept { reset(); |