Skip to content

Commit

Permalink
Adjust style from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Be <be.0@gmx.com>
Co-authored-by: Jan Holthuis <holthuis.jan@googlemail.com>
  • Loading branch information
3 people committed Jul 28, 2020
1 parent a54e894 commit 9a29696
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/mixer/playermanager.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class PlayerManagerInterface {
virtual ~PlayerManagerInterface() = default;

// Get a BaseTrackPlayer (i.e. a Deck or a Sampler) by its group
virtual BaseTrackPlayer* getPlayer(const QString group) const = 0;
virtual BaseTrackPlayer* getPlayer(const QString& group) const = 0;
virtual BaseTrackPlayer* getPlayer(const ChannelHandle& channelHandle) const = 0;

// Get the deck by its deck number. Decks are numbered starting with 1.
Expand Down
4 changes: 2 additions & 2 deletions src/test/signalpathtest.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class BaseSignalPathTest : public MixxxTest {
m_pEffectsManager, m_pChannelHandleFactory,
false);

m_pMixerDeck1 = new Deck(NULL,
m_pMixerDeck1 = new Deck(nullptr,
m_pConfig,
m_pEngineMaster,
m_pEffectsManager,
Expand All @@ -91,7 +91,7 @@ class BaseSignalPathTest : public MixxxTest {
m_pChannel1 = m_pMixerDeck1->getEngineDeck();
m_pChannel2 = m_pMixerDeck2->getEngineDeck();
m_pChannel3 = m_pMixerDeck3->getEngineDeck();
m_pPreview1 = new PreviewDeck(NULL,
m_pPreview1 = new PreviewDeck(nullptr,
m_pConfig,
m_pEngineMaster,
m_pEffectsManager,
Expand Down

0 comments on commit 9a29696

Please sign in to comment.