diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-04-01 14:48:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-01 14:48:16 +0200 |
commit | 987eb2b7615104f3f70e56e51f1dd3df5b2a41eb (patch) | |
tree | 8bc37ba6257442f190248c38651db38c6c87cb6e /src/filecache.h | |
parent | 63ac62ec8abe30f0d6dd2cfe0ddaab291c36893f (diff) | |
download | minetest-987eb2b7615104f3f70e56e51f1dd3df5b2a41eb.tar.gz minetest-987eb2b7615104f3f70e56e51f1dd3df5b2a41eb.tar.bz2 minetest-987eb2b7615104f3f70e56e51f1dd3df5b2a41eb.zip |
Clang-format: trivial fix on some headers (#5495)
Fix some headers style and remove them from whitelist
Diffstat (limited to 'src/filecache.h')
-rw-r--r-- | src/filecache.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/filecache.h b/src/filecache.h index a913a06ac..f390f71b7 100644 --- a/src/filecache.h +++ b/src/filecache.h @@ -21,8 +21,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #ifndef FILECACHE_HEADER #define FILECACHE_HEADER -#include <string> #include <iostream> +#include <string> class FileCache { @@ -30,13 +30,11 @@ public: /* 'dir' is the file cache directory to use. */ - FileCache(std::string dir): - m_dir(dir) - { - } - + FileCache(std::string dir) : m_dir(dir) {} + bool update(const std::string &name, const std::string &data); bool load(const std::string &name, std::ostream &os); + private: std::string m_dir; |