Auto reformatted the base, ref #470

This commit is contained in:
emeric
2024-05-24 23:31:52 +02:00
parent 83b868673c
commit 39941d90a3
460 changed files with 8583 additions and 8514 deletions
@@ -23,7 +23,7 @@
namespace lms::api::subsonic
{
// Stateless allocator that uses a shared MemoryResource
template <typename MemoryResource, typename T>
template<typename MemoryResource, typename T>
class Allocator
{
public:
@@ -37,10 +37,12 @@ namespace lms::api::subsonic
constexpr Allocator() noexcept = default;
template <typename U>
constexpr Allocator(const Allocator<MemoryResource, U>&) noexcept {}
template<typename U>
constexpr Allocator(const Allocator<MemoryResource, U>&) noexcept
{
}
template <typename V>
template<typename V>
struct rebind
{
using other = Allocator<MemoryResource, V>;
@@ -59,17 +61,17 @@ namespace lms::api::subsonic
};
template<class MemoryResource, class T, class U>
bool operator==(const Allocator <MemoryResource, T>&, const Allocator <MemoryResource, U>&)
bool operator==(const Allocator<MemoryResource, T>&, const Allocator<MemoryResource, U>&)
{
return true;
}
template<class MemoryResource, class T, class U>
bool operator!=(const Allocator <MemoryResource, T>&, const Allocator <MemoryResource, U>&)
bool operator!=(const Allocator<MemoryResource, T>&, const Allocator<MemoryResource, U>&)
{
return false;
}
template <typename T>
template<typename T>
using ResponseAllocator = Allocator<TLSMonotonicMemoryResource, T>;
}
} // namespace lms::api::subsonic