diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-04-22 00:51:13 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-04-22 00:51:56 +0200 |
commit | 3e71c8f482131da59642b0175160eb2bc714d439 (patch) | |
tree | fa80424f0f98ca093d3bc82304f266dd5cb01b9c /src/guiFormSpecMenu.h | |
parent | 4f4e2e3e838fc640e45714d4666bc5d6b0aa8a25 (diff) | |
download | minetest-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.h | 2 |
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; |