summaryrefslogtreecommitdiff
path: root/louloulibs/logger
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-05-04 14:16:40 +0200
committerlouiz’ <louiz@louiz.org>2016-05-04 14:16:40 +0200
commitaf42073830087d97385e507f27f601e8769541b0 (patch)
treed7187f5dcbf73cf73776c6c9dad01ad4d0a25b51 /louloulibs/logger
parent305e01c0b58ec5cfee276841488f9c24835ce923 (diff)
downloadbiboumi-af42073830087d97385e507f27f601e8769541b0.tar.gz
biboumi-af42073830087d97385e507f27f601e8769541b0.tar.bz2
biboumi-af42073830087d97385e507f27f601e8769541b0.tar.xz
biboumi-af42073830087d97385e507f27f601e8769541b0.zip
Style fix
Move all constructors at the top of classes
Diffstat (limited to 'louloulibs/logger')
-rw-r--r--louloulibs/logger/logger.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/louloulibs/logger/logger.hpp b/louloulibs/logger/logger.hpp
index ab8bdf1..3547513 100644
--- a/louloulibs/logger/logger.hpp
+++ b/louloulibs/logger/logger.hpp
@@ -67,10 +67,12 @@ public:
Logger(const int log_level, const std::string& log_file);
Logger(const int log_level);
-private:
- Logger(const Logger&);
- Logger& operator=(const Logger&);
+ Logger(const Logger&) = delete;
+ Logger& operator=(const Logger&) = delete;
+ Logger(Logger&&) = delete;
+ Logger& operator=(Logger&&) = delete;
+private:
const int log_level;
std::ofstream ofstream;
nullstream null_stream;