Skip to content

Commit

Permalink
style: apply PackConstructorInitializers: Never to force one-line per…
Browse files Browse the repository at this point in the history
… member-initalizer list item
  • Loading branch information
Swiftb0y committed Aug 9, 2024
1 parent 5878419 commit 09d857d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ IndentCaseLabels: false
DerivePointerAlignment: false
SpaceAfterTemplateKeyword: false
SpacesBeforeTrailingComments: 1
PackConstructorInitializers: Never
# StatementMacros don't require a trailing semicolon.
# Trailing semicolons should be omitted after these macros
# when compiling with -Wpedantic to avoid warnings.
Expand Down
3 changes: 2 additions & 1 deletion src/analyzer/analyzergain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
#include "util/timer.h"

AnalyzerGain::AnalyzerGain(UserSettingsPointer pConfig)
: m_rgSettings(pConfig), m_pReplayGain(std::make_unique<ReplayGain>()) {
: m_rgSettings(pConfig),
m_pReplayGain(std::make_unique<ReplayGain>()) {
}

AnalyzerGain::~AnalyzerGain() = default;
Expand Down

0 comments on commit 09d857d

Please sign in to comment.