Use anonymous namespace for constants

This commit is contained in:
Jonas Kvinge
2024-08-07 00:52:58 +02:00
parent c69777ca39
commit 819463a865
67 changed files with 186 additions and 240 deletions

View File

@@ -47,10 +47,10 @@
using std::unique_ptr;
static const int kTimeoutSecs = 60;
namespace {
constexpr int kTimeoutSecs = 60;
struct ebur128_state_deleter {
void operator()(ebur128_state *p) const { ebur128_destroy(&p); };
};