Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/deskutils/charmtimetracker/files/patch-Charm_Lotsofcake_Configuration.cpp
16461 views
1
Fix build with clang7:
2
3
WeeklyTimesheet.cpp:287:37: error: default initialization of an object of const type 'const Lotsofcake::Configuration' requires a user-provided default constructor
4
const Lotsofcake::Configuration configuration;
5
6
--- Charm/Lotsofcake/Configuration.cpp.orig 2018-09-03 18:53:25 UTC
7
+++ Charm/Lotsofcake/Configuration.cpp
8
@@ -43,6 +43,10 @@ static void setValueIfNotNull(QSettings
9
}
10
}
11
12
+Lotsofcake::Configuration::Configuration()
13
+{
14
+}
15
+
16
bool Lotsofcake::Configuration::isConfigured() const
17
{
18
return !username().isEmpty();
19
20