Remove workarounds for fixed bugs

This commit is contained in:
Mat Sutcliffe
2021-04-16 22:32:01 +01:00
parent 093138972a
commit 7955d0a06e
15 changed files with 16 additions and 110 deletions

View File

@@ -298,8 +298,7 @@ namespace BlackMisc
template <size_t I>
using index = std::integral_constant<size_t, I>;
// Trailing return type needed to work around MSVC "function returning auto can not be used before it has been defined" with /permissive-
constexpr static auto members() -> decltype(MetaClass::getMemberList()) { return MetaClass::getMemberList(); }
constexpr static auto members() { return MetaClass::getMemberList(); }
};
// *INDENT-ON*