1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Clang-format: trivial fix on some headers (#5495)

Fix some headers style and remove them from whitelist
This commit is contained in:
Loïc Blot 2017-04-01 14:48:16 +02:00 committed by GitHub
parent 63ac62ec8a
commit 987eb2b761
13 changed files with 18 additions and 42 deletions

View file

@ -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;