]> git.lyx.org Git - features.git/commitdiff
Remove unneeded std::move
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 6 Jun 2019 13:23:42 +0000 (15:23 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:33 +0000 (15:48 +0200)
Signalled by gcc 9.

src/MetricsInfo.cpp

index 0e90876f19fa898b872675ed0b6964d9354d74d3..b33c3683ca585fbeeb3e62e306600fa9959264de 100644 (file)
@@ -74,7 +74,7 @@ Changer MetricsBase::changeFontSet(string const & name)
            && ((isTextFont(oldname) && oldcolor != Color_foreground)
                || (isMathFont(oldname) && oldcolor != Color_math)))
                font.setColor(oldcolor);
-       return move(rc);
+       return rc;
 }