From 65fdaf25d6d1c8f392d799a83021c83a361c016f Mon Sep 17 00:00:00 2001 From: namark <namark@disroot.org> Date: Sat, 21 Dec 2019 05:13:54 +0400 Subject: [PATCH] Workaround for a bug in clang. --- source/simple/graphical/color_vector.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/simple/graphical/color_vector.hpp b/source/simple/graphical/color_vector.hpp index ef2d8f7..19d61ce 100644 --- a/source/simple/graphical/color_vector.hpp +++ b/source/simple/graphical/color_vector.hpp @@ -24,6 +24,10 @@ namespace simple::graphical using base::base; + // TODO: workaround for clang bug, that prevents inheriting the default constructor + // https://bugs.llvm.org/show_bug.cgi?id=38673 + constexpr explicit color_vector() = default; + constexpr explicit color_vector(const base& other) : base(other) {} -- GitLab