diff --git a/include/mtl/log.hpp b/include/mtl/log.hpp index 8e776be..d8aa0e6 100644 --- a/include/mtl/log.hpp +++ b/include/mtl/log.hpp @@ -21,6 +21,8 @@ constexpr char endl_char = 0; constexpr char endl_char = '\n'; #endif +using stream_type = basic_string_stream; + /** * \brief Log stream * @@ -42,7 +44,7 @@ constexpr char endl_char = '\n'; * On MGBA this also starts the line with "GBA Debug: ",so the line is not * completely blank either. */ -class stream : public basic_string_stream { +class stream : public stream_type { private: level m_log_level;