Mercurial > octave-nkf
diff libgui/graphics/Logger.cc @ 18501:523878f76518 gui-release
style fix: eliminate lines of slashes to separate functions.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Feb 2014 15:10:07 -0500 |
parents | 49877d3be064 |
children | 3cc0734283dc |
line wrap: on
line diff
--- a/libgui/graphics/Logger.cc Thu Feb 20 14:58:56 2014 -0500 +++ b/libgui/graphics/Logger.cc Thu Feb 20 15:10:07 2014 -0500 @@ -32,18 +32,12 @@ #include "Logger.h" -////////////////////////////////////////////////////////////////////////////// - namespace QtHandles { -////////////////////////////////////////////////////////////////////////////// - Logger* Logger::s_instance = 0; QMutex* Logger::s_mutex = 0; -////////////////////////////////////////////////////////////////////////////// - Logger::Logger (void) : m_debugEnabled (false) { @@ -53,14 +47,10 @@ m_debugEnabled = true; } -////////////////////////////////////////////////////////////////////////////// - Logger::~Logger (void) { } -////////////////////////////////////////////////////////////////////////////// - Logger* Logger::instance (void) { if (! s_instance) @@ -72,8 +62,6 @@ return s_instance; } -////////////////////////////////////////////////////////////////////////////// - #define STATIC_LOGGER(fun) \ void Logger::fun (const char* fmt, ...) \ { \ @@ -86,8 +74,6 @@ STATIC_LOGGER (debug) -////////////////////////////////////////////////////////////////////////////// - void Logger::debugV (const char* fmt, va_list arg) { if (m_debugEnabled) @@ -97,6 +83,4 @@ } } -////////////////////////////////////////////////////////////////////////////// - }; // namespace QtHandles