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

fix warning (for -Wextra)

This commit is contained in:
bolero-MURAKAMI 2013-07-22 22:00:09 +09:00
parent 49243e6c94
commit 57e35349e5
146 changed files with 459 additions and 499 deletions

View file

@ -76,7 +76,7 @@ namespace sprout {
}
template<typename T>
inline SPROUT_CONSTEXPR bool
operator<(sprout::optional<T> const& lhs, sprout::nullopt_t) SPROUT_NOEXCEPT {
operator<(sprout::optional<T> const&, sprout::nullopt_t) SPROUT_NOEXCEPT {
return false;
}
template<typename T>
@ -91,7 +91,7 @@ namespace sprout {
}
template<typename T>
inline SPROUT_CONSTEXPR bool
operator>(sprout::nullopt_t, sprout::optional<T> const& rhs) SPROUT_NOEXCEPT {
operator>(sprout::nullopt_t, sprout::optional<T> const&) SPROUT_NOEXCEPT {
return false;
}
template<typename T>
@ -101,12 +101,12 @@ namespace sprout {
}
template<typename T>
inline SPROUT_CONSTEXPR bool
operator<=(sprout::nullopt_t, sprout::optional<T> const& rhs) SPROUT_NOEXCEPT {
operator<=(sprout::nullopt_t, sprout::optional<T> const&) SPROUT_NOEXCEPT {
return true;
}
template<typename T>
inline SPROUT_CONSTEXPR bool
operator>=(sprout::optional<T> const& lhs, sprout::nullopt_t) SPROUT_NOEXCEPT {
operator>=(sprout::optional<T> const&, sprout::nullopt_t) SPROUT_NOEXCEPT {
return true;
}
template<typename T>