From 68b69dfc92daffbe52b4eb7eb317beb2cc764fb0 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 18 Oct 2015 17:35:11 +0200 Subject: Add cmake build instructions --- utility.h | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 utility.h (limited to 'utility.h') diff --git a/utility.h b/utility.h deleted file mode 100644 index 27ce8e9..0000000 --- a/utility.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef CHANGE_UTILITY_H_ -#define CHANGE_UTILITY_H_ - -#include - -#include - -namespace utility { - -class Logger { - public: - Logger(const int target_fd): - buffer(target_fd, std::ios::out), - stream(&this->buffer) { } - - void append(const std::string& msg) { - this->stream << msg << std::endl; - } - - private: - __gnu_cxx::stdio_filebuf buffer; - std::ostream stream; - -}; - -} - -#endif // CHANGE_UTILITY_H_ -- cgit v1.2.3