Skip to content

Commit

Permalink
#define GTEST_FLAG_SET if not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Aug 23, 2023
1 parent 75ccb22 commit 8fdbd5b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/engineeffectsdelay_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
#include "util/span.h"
#include "util/types.h"

#ifndef GTEST_FLAG_SET
// Available in GoogleTest v1.12.0.
#define GTEST_FLAG_SET(name, value) (void)(::testing::GTEST_FLAG(name) = value)
#endif

namespace {

static_assert(mixxx::kEngineChannelCount == mixxx::audio::ChannelCount::stereo(),
Expand Down

0 comments on commit 8fdbd5b

Please sign in to comment.