diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-05-11 19:30:06 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-05-11 19:30:30 +0200 |
commit | 36b5237d4d3088e5cd344b552dfe70169e7dee42 (patch) | |
tree | 8a1529a21ad5e2f596a10b884b6754a47730a6a8 /compat | |
parent | 31bab22b5ee7bc18ad4bdb2fb74ed4948a900cc0 (diff) |
fix GCC warnings
Diffstat (limited to 'compat')
-rw-r--r-- | compat/timer.cpp | 2 | ||||
-rw-r--r-- | compat/tr.hpp | 2 |
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; } }; |