diff Applications/Samples/Common/RtViewerView.h @ 1573:32e0c007789d

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Sep 2020 18:28:34 +0200
parents 6e0da8370270
children 4c9e68291467
line wrap: on
line diff
--- a/Applications/Samples/Common/RtViewerView.h	Mon Sep 21 18:13:52 2020 +0200
+++ b/Applications/Samples/Common/RtViewerView.h	Mon Sep 21 18:28:34 2020 +0200
@@ -108,7 +108,8 @@
     }
 
   private:
-    void SetInfoDisplayMessage(std::string key, std::string value);
+    void SetInfoDisplayMessage(const std::string& key,
+                               const std::string& value);
     boost::shared_ptr<RtViewerApp> GetApp();
     boost::shared_ptr<IViewport> CreateViewport(const std::string& canvasId);
     void DisplayInfoText();