refs #336 Style and const-correctness.

This commit is contained in:
Mathew Sutcliffe
2014-10-11 23:56:17 +01:00
parent 663740d5bd
commit e3446d78d8
5 changed files with 8 additions and 9 deletions

View File

@@ -152,7 +152,7 @@ namespace BlackMisc
private:
QMessageLogger m_logger;
CStatusMessage::StatusSeverity m_severity { CStatusMessage::SeverityDebug };
CStatusMessage::StatusSeverity m_severity = CStatusMessage::SeverityDebug;
QString m_category;
QString m_message;
QStringList m_args;
@@ -173,6 +173,6 @@ namespace BlackMisc
* Convenience macro to construct a CLogMessage with the filename, line number, and function name,
* for verbose debug messages.
*/
#define BLACK_LOG (BlackMisc::CLogMessage{ __FILE__, __LINE__, Q_FUNC_INFO })
#define BLACK_LOG (BlackMisc::CLogMessage { __FILE__, __LINE__, Q_FUNC_INFO })
#endif