]> git.lyx.org Git - lyx.git/blobdiff - src/texstream.cpp
Check path of Qt tools if qtchooser is detected
[lyx.git] / src / texstream.cpp
index f748f8a4d27687c232b9e9ff4b8bcaf2767112f9..ec8158d8fd2295d97d906ac7d349e4fb3c11772c 100644 (file)
@@ -41,11 +41,11 @@ otexrowstream::otexrowstream(odocstream & os, bool enable)
 otexrowstream::~otexrowstream() = default;
 
 
-unique_ptr<TexRow> && otexrowstream::releaseTexRow()
+unique_ptr<TexRow> otexrowstream::releaseTexRow()
 {
        auto p = make_unique<TexRow>();
        swap(texrow_, p);
-       return move(p);
+       return p;
 }