commit b42e6e96d893672484e2f4f1f5c9885f28994ca0
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Sun Sep 15 23:29:47 2019 +0200

    Pass variable by reference
    
    Spotted by cppcheck
---
 src/mathed/InsetMathDecoration.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mathed/InsetMathDecoration.cpp 
b/src/mathed/InsetMathDecoration.cpp
index 1262370..92696a8 100644
--- a/src/mathed/InsetMathDecoration.cpp
+++ b/src/mathed/InsetMathDecoration.cpp
@@ -168,7 +168,7 @@ void InsetMathDecoration::infoize(odocstream & os) const
 namespace {
        struct Attributes {
                Attributes() : over(false) {}
-               Attributes(bool o, string t)
+               Attributes(bool o, string const & t)
                        : over(o), tag(t) {}
                bool over;
                string tag;

Reply via email to