mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-11-29 08:41:19 +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
@@ -1125,8 +1125,13 @@ namespace platf {
|
||||
|
||||
} // namespace
|
||||
|
||||
/**
|
||||
* @brief Create the libvirtualhid backend with explicit input-handle ownership.
|
||||
*
|
||||
* @return Owning handle for the global virtual input backend.
|
||||
*/
|
||||
input_t input() {
|
||||
return {new input_raw_t {}};
|
||||
return input_t {new input_raw_t {}};
|
||||
}
|
||||
|
||||
std::unique_ptr<client_input_t> allocate_client_input_context(input_t &input) {
|
||||
|
||||
Reference in new issue
Block a user