Skip to content
Snippets Groups Projects
Commit 33e842fb authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Removed [[noreturn]] not compatible with return statment for MSVC

parent 01af919b
No related branches found
No related tags found
1 merge request!16Unified interface for attributes
Pipeline #32233 passed
This commit is part of merge request !16. Comments created here will be created in the context of that merge request.
......@@ -121,7 +121,7 @@ public:
}
template <std::size_t SIZE = std::tuple_size<std::tuple<T...>>::value-1>
[[noreturn]] constexpr typename std::enable_if<(SIZE <= 0), std::string>::type getType(std::size_t /*i*/) const {
constexpr typename std::enable_if<(SIZE <= 0), std::string>::type getType(std::size_t /*i*/) const {
assert(false && "parameter not found");
return std::string(); // useless, but makes MSVC happy
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment