Skip to content
Snippets Groups Projects
Commit c8bc585b authored by Cyril Moineau's avatar Cyril Moineau
Browse files

[Paramerter] Add [[noreturn]] for MSVC.

parent 05361ff3
No related branches found
No related tags found
1 merge request!9Fuse bn
...@@ -155,7 +155,7 @@ public: ...@@ -155,7 +155,7 @@ public:
} }
template <typename R, std::size_t SIZE = std::tuple_size<std::tuple<T...>>::value-1> template <typename R, std::size_t SIZE = std::tuple_size<std::tuple<T...>>::value-1>
constexpr typename std::enable_if<(SIZE == 0), R&>::type get(std::size_t /*i*/) { [[noreturn]] constexpr typename std::enable_if<(SIZE == 0), R&>::type get(std::size_t /*i*/) {
assert(false && "parameter not found"); assert(false && "parameter not found");
} }
......
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