1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

erase warning: clang

This commit is contained in:
bolero-MURAKAMI 2013-04-21 13:30:30 +09:00
parent fb4fb791dd
commit 61720b72c3
18 changed files with 108 additions and 1 deletions

View file

@ -35,6 +35,10 @@ namespace sprout {
} // namespace sprout
namespace std {
#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wmismatched-tags"
#endif
//
// hash
//
@ -42,6 +46,9 @@ namespace std {
struct hash<sprout::variant<Types...> >
: public sprout::hash<sprout::variant<Types...> >
{};
#if defined(__clang__)
# pragma clang diagnostic pop
#endif
} // namespace std
#endif // #ifndef SPROUT_VARIANT_HASH_HPP