mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-06 10:09:33 +02:00
Fix warnings
This commit is contained in:
parent
92cc5d4e10
commit
70d7b97026
16 changed files with 33 additions and 23 deletions
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2024 Johannes Pohl
|
||||
Copyright (C) 2014-2025 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -87,5 +87,5 @@ const std::error_category& category()
|
|||
|
||||
std::error_code make_error_code(ControlErrc errc)
|
||||
{
|
||||
return std::error_code(static_cast<int>(errc), snapcast::error::control::category());
|
||||
return {static_cast<int>(errc), snapcast::error::control::category()};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue