Workaround bug in gcc 6/7 for building unit tests

This commit is contained in:
Sebastian Messmer 2017-09-12 22:12:01 +01:00
parent d963424630
commit 82587ca185

View File

@ -13,7 +13,7 @@ template<size_t SIZE>
class FixedSizeData final { class FixedSizeData final {
public: public:
//Non-virtual destructor because we want objects to be small //Non-virtual destructor because we want objects to be small
~FixedSizeData() {} ~FixedSizeData() = default;
static constexpr size_t BINARY_LENGTH = SIZE; static constexpr size_t BINARY_LENGTH = SIZE;
static constexpr size_t STRING_LENGTH = 2 * BINARY_LENGTH; // Hex encoding static constexpr size_t STRING_LENGTH = 2 * BINARY_LENGTH; // Hex encoding