summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--compat/timer.cpp2
-rw-r--r--compat/tr.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/compat/timer.cpp b/compat/timer.cpp
index 84ea44e6..f60e4f62 100644
--- a/compat/timer.cpp
+++ b/compat/timer.cpp
@@ -107,7 +107,7 @@ void Timer::gettime(timespec* ts)
{
int error = clock_gettime(CLOCK_MONOTONIC, ts);
assert(error == 0 && "clock_gettime failed");
-};
+}
#endif
diff --git a/compat/tr.hpp b/compat/tr.hpp
index 4504f791..c5a561e7 100644
--- a/compat/tr.hpp
+++ b/compat/tr.hpp
@@ -8,7 +8,7 @@
struct TR : QObject
{
TR() = default;
- TR(const TR&) {}
+ TR(const TR&) : QObject(nullptr) {}
TR& operator=(const TR&) { return *this; }
};