Modify rule S5500: fix level of "How to fix it" section (CPP-5804) (#4398)
This commit is contained in:
parent
50b13ef2d3
commit
d7be1f6bef
@ -43,7 +43,7 @@ and requires the explicit move `return std::move(p)`.
|
|||||||
In contrast to returning local (stack) variables, named return value optimization (NRVO)
|
In contrast to returning local (stack) variables, named return value optimization (NRVO)
|
||||||
does not apply to function parameters, so an explicit `std::move` call has no impact on optimizations.
|
does not apply to function parameters, so an explicit `std::move` call has no impact on optimizations.
|
||||||
|
|
||||||
=== How to fix it
|
== How to fix it
|
||||||
|
|
||||||
This issue can be resolved in multiple ways:
|
This issue can be resolved in multiple ways:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user