opnsense-ports/deskutils/charmtimetracker/files/patch-Charm_Lotsofcake_Configuration.cpp
Franco Fichtner a94bf69e97 */*: sync with upstream
Taken from: HardenedBSD
2018-09-04 03:15:35 +02:00

18 lines
561 B
C++

Fix build with clang7:
WeeklyTimesheet.cpp:287:37: error: default initialization of an object of const type 'const Lotsofcake::Configuration' requires a user-provided default constructor
const Lotsofcake::Configuration configuration;
--- Charm/Lotsofcake/Configuration.cpp.orig 2018-09-03 18:53:25 UTC
+++ Charm/Lotsofcake/Configuration.cpp
@@ -43,6 +43,10 @@ static void setValueIfNotNull(QSettings
}
}
+Lotsofcake::Configuration::Configuration()
+{
+}
+
bool Lotsofcake::Configuration::isConfigured() const
{
return !username().isEmpty();