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:
parent
fb4fb791dd
commit
61720b72c3
18 changed files with 108 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue