From a227d27227e003007fc67b40e9f3c17598dc2846 Mon Sep 17 00:00:00 2001 From: baldurk <baldurk@baldurk.org> Date: Thu, 13 Oct 2016 19:30:27 +0200 Subject: [PATCH] Explicitly implement default constructors --- SPIRV/hex_float.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SPIRV/hex_float.h b/SPIRV/hex_float.h index 24a260797..3849eefff 100644 --- a/SPIRV/hex_float.h +++ b/SPIRV/hex_float.h @@ -43,7 +43,7 @@ namespace spvutils { class Float16 { public: Float16(uint16_t v) : val(v) {} - Float16() = default; + Float16() {} static bool isNan(const Float16& val) { return ((val.val & 0x7C00) == 0x7C00) && ((val.val & 0x3FF) != 0); } @@ -118,7 +118,7 @@ class FloatProxy { // Since this is to act similar to the normal floats, // do not initialize the data by default. - FloatProxy() = default; + FloatProxy() {} // Intentionally non-explicit. This is a proxy type so // implicit conversions allow us to use it more transparently. -- GitLab