From 3e71c8f482131da59642b0175160eb2bc714d439 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Sat, 22 Apr 2017 00:51:13 +0200 Subject: Fixing warning pointed by @sfan5 and clang and cleanup guiFileSelectMenu * Also pass clang-format on guiFileSelectMenu.h and remove it from whitelist --- src/guiFormSpecMenu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/guiFormSpecMenu.h') diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h index d70c3a582..e30565be8 100644 --- a/src/guiFormSpecMenu.h +++ b/src/guiFormSpecMenu.h @@ -57,7 +57,7 @@ struct TextDest { virtual ~TextDest() {} // This is deprecated I guess? -celeron55 - virtual void gotText(std::wstring text){} + virtual void gotText(const std::wstring &text) {} virtual void gotText(const StringMap &fields) = 0; std::string m_formname; -- cgit v1.2.3