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:
parent
49243e6c94
commit
57e35349e5
146 changed files with 459 additions and 499 deletions
|
@ -213,7 +213,7 @@ namespace sprout {
|
|||
SPROUT_CONSTEXPR second_const_reference second() const {
|
||||
return *this;
|
||||
}
|
||||
void swap(compressed_pair_impl& other) {}
|
||||
void swap(compressed_pair_impl&) {}
|
||||
};
|
||||
template<typename T1, typename T2>
|
||||
class compressed_pair_impl<T1, T2, 4>
|
||||
|
@ -252,7 +252,7 @@ namespace sprout {
|
|||
SPROUT_CONSTEXPR second_const_reference second() const {
|
||||
return second_;
|
||||
}
|
||||
void swap(compressed_pair_impl& other) {}
|
||||
void swap(compressed_pair_impl&) {}
|
||||
};
|
||||
template<typename T1, typename T2>
|
||||
class compressed_pair_impl<T1, T2, 5>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue