You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sensor.cpp has four places where it uses std::move() on const data. The VS C++ Core guidelines spits out a C26478 warning on these lines. Not a problem but no harm/risk in cleaning this up.
Warning C26478: Don't use std::move on constant variables. (es.56)
This warning is to indicate that the use of std::move not consistent with how std::move is intended to be used. When called on a const object, std::move returns a copy of the object, which is likely not the developer's intent.
The text was updated successfully, but these errors were encountered:
Issue Description
sensor.cpp has four places where it uses std::move() on const data. The VS C++ Core guidelines spits out a C26478 warning on these lines. Not a problem but no harm/risk in cleaning this up.
https://docs.microsoft.com/en-us/visualstudio/code-quality/c26478?view=vs-2019
Warning C26478: Don't use std::move on constant variables. (es.56)
This warning is to indicate that the use of std::move not consistent with how std::move is intended to be used. When called on a const object, std::move returns a copy of the object, which is likely not the developer's intent.
The text was updated successfully, but these errors were encountered: