Home / Vulnerability Database / C or C++ : Performing the std::move operation on a constant value
C/C++

C or C++ : Performing the std::move operation on a constant value

Overview

Passing a constant variable to std::move will create its copy. Perhaps a variable was intended only to be moved.

References

MEDIUM

DerScanner Severity Score

Do you want to fix C or C++ : Performing the std::move operation on a constant value in your application?

See also

C/C++

C or C++ : Dead store

C/C++

C or C++ : Use after free

C/C++

C or C++ : va_list uninitialized