Skip to content

Commit 5094311

Browse files
committed
headers: Fix incorrect rvalue-reference argument types
1 parent 2490179 commit 5094311

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

headers/deque

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public:
8484

8585
deque(deque&& other);
8686
#if CPPREFERENCE_STDVER>= 2011
87-
deque(const deque&& other, const Allocator& alloc);
87+
deque(deque&& other, const Allocator& alloc);
8888

8989
deque(std::initializer_list<T> init,
9090
const Allocator& alloc = Allocator());

headers/forward_list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public:
6868
forward_list(const forward_list& other, const Allocator& alloc);
6969

7070
forward_list(forward_list&& other);
71-
forward_list(const forward_list&& other, const Allocator& alloc);
71+
forward_list(forward_list&& other, const Allocator& alloc);
7272

7373
forward_list(std::initializer_list<T> init,
7474
const Allocator& alloc = Allocator());

headers/list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public:
8484

8585
list(list&& other);
8686
#if CPPREFERENCE_STDVER>= 2011
87-
list(const list&& other, const Allocator& alloc);
87+
list(list&& other, const Allocator& alloc);
8888

8989
list(std::initializer_list<T> init,
9090
const Allocator& alloc = Allocator());

headers/map

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public:
9999

100100
#if CPPREFERENCE_STDVER>= 2011
101101
map(map&& other);
102-
map(const map&& other, const Allocator& alloc);
102+
map(map&& other, const Allocator& alloc);
103103

104104
map(std::initializer_list<value_type> init,
105105
const Compare& comp = Compare(),
@@ -356,7 +356,7 @@ public:
356356

357357
#if CPPREFERENCE_STDVER>= 2011
358358
multimap(multimap&& other);
359-
multimap(const multimap&& other, const Allocator& alloc);
359+
multimap(multimap&& other, const Allocator& alloc);
360360

361361
multimap(std::initializer_list<value_type> init,
362362
const Compare& comp = Compare(),

headers/regex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ public:
319319

320320
#if CPPREFERENCE_STDVER>= 2014
321321
regex_iterator(BidirIt, BidirIt,
322-
const regex_type&&,
322+
regex_type&&,
323323
std::regex_constants::match_flag_type =
324324
std::regex_constants::match_default) = delete;
325325
#endif
@@ -383,26 +383,26 @@ public:
383383

384384
#if CPPREFERENCE_STDVER>= 2014
385385
regex_token_iterator(BidirectionalIterator a, BidirectionalIterator b,
386-
const regex_type&& re,
386+
regex_type&& re,
387387
int submatch = 0,
388388
std::regex_constants::match_flag_type m =
389389
std::regex_constants::match_default) = delete;
390390

391391
regex_token_iterator(BidirectionalIterator a, BidirectionalIterator b,
392-
const regex_type&& re,
392+
regex_type&& re,
393393
const std::vector<int>& submatches,
394394
std::regex_constants::match_flag_type m =
395395
std::regex_constants::match_default) = delete;
396396

397397
regex_token_iterator(BidirectionalIterator a, BidirectionalIterator b,
398-
const regex_type&& re,
398+
regex_type&& re,
399399
std::initializer_list<int> submatches,
400400
std::regex_constants::match_flag_type m =
401401
std::regex_constants::match_default) = delete;
402402

403403
template <std::size_t N>
404404
regex_token_iterator(BidirectionalIterator a, BidirectionalIterator b,
405-
const regex_type&& re,
405+
regex_type&& re,
406406
const int (&submatches)[N],
407407
std::regex_constants::match_flag_type m =
408408
std::regex_constants::match_default) = delete;

headers/set

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public:
8686

8787
#if CPPREFERENCE_STDVER>= 2011
8888
set(set&& other);
89-
set(const set&& other, const Allocator& alloc);
89+
set(set&& other, const Allocator& alloc);
9090

9191
set(std::initializer_list<value_type> init,
9292
const Compare& comp = Compare(),
@@ -311,7 +311,7 @@ public:
311311

312312
#if CPPREFERENCE_STDVER>= 2011
313313
multiset(multiset&& other);
314-
multiset(const multiset&& other, const Allocator& alloc);
314+
multiset(multiset&& other, const Allocator& alloc);
315315

316316
multiset(std::initializer_list<value_type> init,
317317
const Compare& comp = Compare(),

headers/vector

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public:
8585

8686
vector(vector&& other);
8787
#if CPPREFERENCE_STDVER>= 2011
88-
vector(const vector&& other, const Allocator& alloc);
88+
vector(vector&& other, const Allocator& alloc);
8989

9090
vector(std::initializer_list<T> init,
9191
const Allocator& alloc = Allocator());

0 commit comments

Comments
 (0)