mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-04 14:14:09 +00:00
erase warnings for clang3.2
This commit is contained in:
parent
d00e971abe
commit
225c11b505
14 changed files with 108 additions and 22 deletions
|
@ -33,6 +33,10 @@ namespace sprout {
|
|||
} // namespace sprout
|
||||
|
||||
namespace std {
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wmismatched-tags"
|
||||
#endif
|
||||
//
|
||||
// tuple_size
|
||||
//
|
||||
|
@ -50,6 +54,9 @@ namespace std {
|
|||
static_assert(I < N, "tuple_element<>: index out of range");
|
||||
typedef T type;
|
||||
};
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic pop
|
||||
#endif
|
||||
} // namespace std
|
||||
|
||||
#endif // #ifndef SPROUT_ARRAY_TUPLE_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue