Commit 59f7ab3c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

initialize directly in header

parent f0fe7c71
......@@ -31,8 +31,6 @@
namespace KDebugSettingsUtil {
struct LIBKDEBUGSETTINGS_EXPORT_TEST_EXPORT LineLoggingQtCategory {
LineLoggingQtCategory()
: enabled(true)
, type(Unknown)
{
}
......@@ -57,8 +55,8 @@ struct LIBKDEBUGSETTINGS_EXPORT_TEST_EXPORT LineLoggingQtCategory {
&& (logName == other.logName);
}
bool enabled;
LoggingType type;
bool enabled = true;
LoggingType type = Unknown;
QString logName;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment