Skip to content

Commit

Permalink
Add missing namespace closing comments [google-readability-namespace-…
Browse files Browse the repository at this point in the history
…comments]
  • Loading branch information
daschuer committed Sep 19, 2023
1 parent 525d597 commit 6069601
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/control/controlcompressingproxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace {
constexpr int kMaxNumOfRecursions = 128;
}
} // namespace

// Event queue compressing proxy
CompressingProxy::CompressingProxy(const ConfigKey& key,
Expand Down
2 changes: 1 addition & 1 deletion src/control/controlindicator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace {
const QString kAppGroup = QStringLiteral("[App]");
}
} // namespace

ControlIndicator::ControlIndicator(const ConfigKey& key)
: ControlObject(key, false),
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/controlpickermenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace {
const QString kAppGroup = QStringLiteral("[App]");
}
} // namespace

ControlPickerMenu::ControlPickerMenu(QWidget* pParent)
: QMenu(pParent) {
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/delegates/midioptionsdelegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const QList<MidiOption> kMidiOptions = {
MidiOption::FourteenBitLSB,
};

}
} // namespace

MidiOptionsDelegate::MidiOptionsDelegate(QObject* pParent)
: QStyledItemDelegate(pParent) {
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/midi/portmidicontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace {
const QString kUnknownControllerName = QStringLiteral("Unknown PortMidiController");
}
} // namespace

PortMidiController::PortMidiController(const PmDeviceInfo* inputDeviceInfo,
const PmDeviceInfo* outputDeviceInfo,
Expand Down
2 changes: 1 addition & 1 deletion src/effects/presets/effectpresetmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace {
const QString kEffectDefaultsDirectory = "/effects/defaults";
}
} // namespace

EffectPresetManager::EffectPresetManager(UserSettingsPointer pConfig,
EffectsBackendManagerPointer pBackendManager)
Expand Down
2 changes: 1 addition & 1 deletion src/engine/controls/loopingcontrol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ constexpr mixxx::audio::FrameDiff_t kMinimumAudibleLoopSizeFrames = 150;
bool positionNear(mixxx::audio::FramePos a, mixxx::audio::FramePos target) {
return a.isValid() && a > target - 1 && a < target + 1;
}
}
} // namespace

double LoopingControl::s_dBeatSizes[] = { 0.03125, 0.0625, 0.125, 0.25, 0.5,
1, 2, 4, 8, 16, 32, 64, 128, 256, 512 };
Expand Down
2 changes: 1 addition & 1 deletion src/engine/enginemixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

namespace {
const QString kAppGroup = QStringLiteral("[App]");
}
} // namespace

EngineMixer::EngineMixer(
UserSettingsPointer pConfig,
Expand Down
2 changes: 1 addition & 1 deletion src/library/library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ namespace {

const mixxx::Logger kLogger("Library");

} // anonymous namespace
} // namespace

using namespace mixxx::library::prefs;

Expand Down
2 changes: 1 addition & 1 deletion src/library/trackset/setlogfeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

namespace {
constexpr int kNumToplevelHistoryEntries = 5;
}
} // namespace

using namespace mixxx::library::prefs;

Expand Down

0 comments on commit 6069601

Please sign in to comment.