]> git.lyx.org Git - lyx.git/commit
use std::move() instead of copying when value is no longer used
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 7 Sep 2024 10:50:27 +0000 (12:50 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 7 Sep 2024 10:50:27 +0000 (12:50 +0200)
commite685d31f5aadadd9c84c80a604818d49f5853dbf
tree9eecc64462de45c0f616b7080ea4782366518b84
parent458f39cc4399cae3abaae17dbf100c380de48a57
use std::move() instead of copying when value is no longer used

This is mainly to shut down coverity which nowadays nags on this.
I am not sure whether we really gain something in these cases.
src/BufferView.cpp
src/Encoding.cpp
src/insets/InsetNomencl.cpp