Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 90909d2

Browse files
geoffw0jbj
andauthored
Update cpp/ql/src/semmle/code/cpp/Type.qll
Co-Authored-By: Jonas Jensen <[email protected]>
1 parent 7d2babd commit 90909d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/ql/src/semmle/code/cpp/Type.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ class LValueReferenceType extends ReferenceType {
10681068
* ```
10691069
* class C {
10701070
* E e;
1071-
* C(C&& from): e(from.e) { }
1071+
* C(C&& from): e(std::move(from.e)) { }
10721072
* };
10731073
* ```
10741074
*/

0 commit comments

Comments
 (0)