mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-02 02:41:49 +02:00
Fix static analysis issues
This commit is contained in:
parent
03ce0ed2df
commit
17efc6799c
22 changed files with 56 additions and 62 deletions
|
@ -126,7 +126,8 @@ struct ErrorOr
|
|||
/// @return the moved error
|
||||
ErrorCode takeError()
|
||||
{
|
||||
return std::move(std::get<ErrorCode>(var));
|
||||
auto ec = std::move(std::get<ErrorCode>(var));
|
||||
return ec;
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue