diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-08-18 07:44:42 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-08-18 07:44:52 +0200 |
commit | 55ab4264dc3f42a4588de0cf52e8f0f88e4fd90e (patch) | |
tree | a7b06056f0905327351131de60678f41a1283826 /src/gettext.cpp | |
parent | 13e995b811e80dc48c0769274d3dca3a2221b843 (diff) | |
download | minetest-55ab4264dc3f42a4588de0cf52e8f0f88e4fd90e.tar.gz minetest-55ab4264dc3f42a4588de0cf52e8f0f88e4fd90e.tar.bz2 minetest-55ab4264dc3f42a4588de0cf52e8f0f88e4fd90e.zip |
Modernize various files
* range-based for loops
* emplace_back instead of push_back
* code style
* C++ headers instead of C headers
* Default operators
* empty stl function
Diffstat (limited to 'src/gettext.cpp')
-rw-r--r-- | src/gettext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gettext.cpp b/src/gettext.cpp index 81d93fef3..81621ba89 100644 --- a/src/gettext.cpp +++ b/src/gettext.cpp @@ -18,9 +18,9 @@ with this program; if not, write to the Free Software Foundation, Inc., */ #include <string> -#include <string.h> +#include <cstring> #include <iostream> -#include <stdlib.h> +#include <cstdlib> #include "gettext.h" #include "util/string.h" #include "log.h" |