From a8e2fb83f30a73bec3e6df63f3ca46ea8fdf5dbe Mon Sep 17 00:00:00 2001 From: Dennis Boerm Date: Mon, 18 May 2015 22:17:01 +0200 Subject: [PATCH] fix constexps struct with user defined constructor --- include/flags/flags.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/flags/flags.hpp b/include/flags/flags.hpp index 207be0bc3..be69af22d 100644 --- a/include/flags/flags.hpp +++ b/include/flags/flags.hpp @@ -14,7 +14,9 @@ namespace flags { -constexpr struct empty_t{} empty; +constexpr struct empty_t { + constexpr empty_t() noexcept {} +} empty; template struct flags {