From bf285af0071bf30730a5d61fa80b7bc890465177 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 5 Apr 2018 06:50:17 +0200 Subject: [PATCH] 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 --- src/libs/utils/smallstringlayout.h | 1 - 1 file changed, 1 deletion(-) 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();