We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f85bb commit 9b61c19Copy full SHA for 9b61c19
mechanism/Container/FixedVector.h
@@ -389,7 +389,7 @@ class FixedVector {
389
}
390
391
const size_type num_elems_pos_to_end = end() - pos;
392
- iterator old_end = end();
+ iterator old_end = end(); // cppcheck-suppress constVariablePointer
393
if (num_elems_pos_to_end > n) {
394
for (size_type i = 0U; i < n; ++i) {
395
construct(&*end());
mechanism/Container/PreallocatedVector.h
@@ -404,7 +404,7 @@ class PreallocatedVector {
404
405
406
407
408
409
410
0 commit comments