mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-01 17:41:12 +00:00
refactor: resolve Sonar constructor and initialization findings (#5922)
This commit is contained in:
1 parent
75d3897fe2
commit
b50c7ba139
27 files changed
+357
-150
No files matched your search
@@ -1534,7 +1534,7 @@ namespace platf {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Linux high-precision timer implementation backed by `timerfd`.
|
||||
* @brief Explicitly linux high-precision timer implementation backed by `timerfd`.
|
||||
*/
|
||||
class linux_high_precision_timer: public high_precision_timer {
|
||||
public:
|
||||
@@ -1542,7 +1542,7 @@ namespace platf {
|
||||
std::this_thread::sleep_for(duration);
|
||||
}
|
||||
|
||||
operator bool() override {
|
||||
explicit operator bool() override {
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user