mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-21 10:27:39 +02:00
Fix linter warnings
This commit is contained in:
parent
66868e2501
commit
5c41afd9e3
31 changed files with 131 additions and 116 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
|
||||
|
@ -22,6 +22,9 @@
|
|||
// local headers
|
||||
#include "common/aixlog.hpp"
|
||||
|
||||
// standard headers
|
||||
#include <memory>
|
||||
|
||||
|
||||
namespace encoder
|
||||
{
|
||||
|
@ -30,7 +33,7 @@ static constexpr auto LOG_TAG = "NullEnc";
|
|||
|
||||
NullEncoder::NullEncoder(const std::string& codecOptions) : Encoder(codecOptions)
|
||||
{
|
||||
headerChunk_.reset(new msg::CodecHeader("null"));
|
||||
headerChunk_ = std::make_shared<msg::CodecHeader>("null");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue