aboutsummaryrefslogtreecommitdiff
path: root/src/guiFormSpecMenu.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-04-22 00:51:13 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-04-22 00:51:56 +0200
commit3e71c8f482131da59642b0175160eb2bc714d439 (patch)
treefa80424f0f98ca093d3bc82304f266dd5cb01b9c /src/guiFormSpecMenu.h
parent4f4e2e3e838fc640e45714d4666bc5d6b0aa8a25 (diff)
downloadminetest-3e71c8f482131da59642b0175160eb2bc714d439.tar.gz
minetest-3e71c8f482131da59642b0175160eb2bc714d439.tar.bz2
minetest-3e71c8f482131da59642b0175160eb2bc714d439.zip
Fixing warning pointed by @sfan5 and clang and cleanup guiFileSelectMenu
* Also pass clang-format on guiFileSelectMenu.h and remove it from whitelist
Diffstat (limited to 'src/guiFormSpecMenu.h')
-rw-r--r--src/guiFormSpecMenu.h2
1 files changed, 1 insertions, 1 deletions
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;