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
|
@ -47,7 +47,7 @@ namespace sprout {
|
|||
sprout::is_fixed_container<Container>::value,
|
||||
typename sprout::container_construct_traits<Container>::copied_type
|
||||
>::type
|
||||
default_remake_container(Cont&& cont, typename sprout::container_traits<Container>::difference_type size, Args&&... args) {
|
||||
default_remake_container(Cont&&, typename sprout::container_traits<Container>::difference_type, Args&&... args) {
|
||||
return sprout::container_construct_traits<Container>::make(sprout::forward<Args>(args)...);
|
||||
}
|
||||
template<typename Container, typename Cont, typename... Args>
|
||||
|
@ -57,7 +57,7 @@ namespace sprout {
|
|||
,
|
||||
typename sprout::container_construct_traits<Container>::copied_type
|
||||
>::type
|
||||
default_remake_container(Cont&& cont, typename sprout::container_traits<Container>::difference_type size, Args&&... args) {
|
||||
default_remake_container(Cont&&, typename sprout::container_traits<Container>::difference_type, Args&&... args) {
|
||||
return sprout::container_construct_traits<Container>::make(sprout::forward<Args>(args)...);
|
||||
}
|
||||
template<typename Container, typename Cont, typename InputIterator>
|
||||
|
@ -65,7 +65,7 @@ namespace sprout {
|
|||
!sprout::is_fixed_container<Container>::value,
|
||||
typename sprout::container_construct_traits<Container>::copied_type
|
||||
>::type
|
||||
default_remake_container(Cont&& cont, typename sprout::container_traits<Container>::difference_type size, InputIterator first, InputIterator last) {
|
||||
default_remake_container(Cont&& cont, typename sprout::container_traits<Container>::difference_type, InputIterator first, InputIterator last) {
|
||||
typedef typename sprout::container_construct_traits<Container>::copied_type copied_type;
|
||||
return copied_type(
|
||||
sprout::make_remake_iterator(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue