summaryrefslogtreecommitdiffstats
path: root/src/LoggerListeners.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/LoggerListeners.cpp')
-rw-r--r--src/LoggerListeners.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/LoggerListeners.cpp b/src/LoggerListeners.cpp
index 0fed9e69f..2028ae151 100644
--- a/src/LoggerListeners.cpp
+++ b/src/LoggerListeners.cpp
@@ -32,12 +32,14 @@
#ifdef _WIN32
- class cWindowsConsoleListener
- : public cColouredConsoleListener
+ class cWindowsConsoleListener:
+ public cColouredConsoleListener
{
- typedef cColouredConsoleListener super;
+ using Super = cColouredConsoleListener;
+
public:
- cWindowsConsoleListener(HANDLE a_Console, WORD a_DefaultConsoleAttrib) :
+
+ cWindowsConsoleListener(HANDLE a_Console, WORD a_DefaultConsoleAttrib):
m_Console(a_Console),
m_DefaultConsoleAttrib(a_DefaultConsoleAttrib)
{
@@ -46,7 +48,7 @@
#ifdef _DEBUG
virtual void Log(AString a_Message, cLogger::eLogLevel a_LogLevel) override
{
- super::Log(a_Message, a_LogLevel);
+ Super::Log(a_Message, a_LogLevel);
// In a Windows Debug build, output the log to debug console as well:
OutputDebugStringA(a_Message.c_str());
}