mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-16 15:14:13 +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
|
@ -43,6 +43,10 @@ namespace sprout {
|
|||
} // namespace sprout
|
||||
|
||||
namespace std {
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wmismatched-tags"
|
||||
#endif
|
||||
//
|
||||
// tuple_size
|
||||
//
|
||||
|
@ -58,6 +62,9 @@ namespace std {
|
|||
struct tuple_element<I, sprout::sub_array<Container> >
|
||||
: public std::tuple_element<I, typename std::remove_reference<Container>::type>
|
||||
{};
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic pop
|
||||
#endif
|
||||
} // namespace std
|
||||
|
||||
#endif // #ifndef SPROUT_SUB_ARRAY_TUPLE_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue