Fix linter warnings

This commit is contained in:
badaix 2025-02-13 22:18:17 +01:00
parent 9d214375d3
commit 42f7f2698e
31 changed files with 131 additions and 116 deletions

View file

@ -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
@ -50,7 +50,7 @@ void assign(void* pointer, T val)
PcmEncoder::PcmEncoder(const std::string& codecOptions) : Encoder(codecOptions)
{
headerChunk_.reset(new msg::CodecHeader("pcm"));
headerChunk_ = std::make_shared<msg::CodecHeader>("pcm");
}