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
|
@ -27,6 +27,10 @@ namespace sprout {
|
|||
} // namespace sprout
|
||||
|
||||
namespace std {
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Wmismatched-tags"
|
||||
#endif
|
||||
//
|
||||
// hash
|
||||
//
|
||||
|
@ -34,6 +38,9 @@ namespace std {
|
|||
struct hash<sprout::value_holder<T> >
|
||||
: public sprout::hash<sprout::value_holder<T> >
|
||||
{};
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic pop
|
||||
#endif
|
||||
} // namespace std
|
||||
|
||||
#endif // #ifndef SPROUT_UTILITY_VALUE_HOLDER_HASH_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue