Parcourir la source

[master] Fixed recently introduced cpp-check

Tomek Mrugalski il y a 8 ans
Parent
commit
9fcdcedd7e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/lib/eval/tests/token_unittest.cc

+ 1 - 1
src/lib/eval/tests/token_unittest.cc

@@ -487,7 +487,7 @@ public:
     ///
     ///
     /// @param expected expected string representation on stack after evaluation
     /// @param expected expected string representation on stack after evaluation
     /// @param value integer value passed to constructor
     /// @param value integer value passed to constructor
-    void testInteger(std::string expected, uint32_t value) {
+    void testInteger(const std::string& expected, uint32_t value) {
 
 
         clearStack();
         clearStack();