Changed coding style

This commit is contained in:
emeric
2023-10-02 20:32:28 +02:00
parent 4fbacd691d
commit 7c7fbba319
18 changed files with 1265 additions and 1311 deletions
+9 -8
View File
@@ -23,18 +23,19 @@
namespace API::Subsonic
{
struct ProtocolVersion
{
unsigned major {};
unsigned minor {};
unsigned patch {};
};
struct ProtocolVersion
{
unsigned major{};
unsigned minor{};
unsigned patch{};
};
static inline constexpr ProtocolVersion defaultServerProtocolVersion {1, 16, 0};
static inline constexpr ProtocolVersion defaultServerProtocolVersion{ 1, 16, 0 };
}
namespace StringUtils
{
template<> std::optional<API::Subsonic::ProtocolVersion> readAs(std::string_view str);
template<>
std::optional<API::Subsonic::ProtocolVersion> readAs(std::string_view str);
}