Skip to content

Commit e6c4acf

Browse files
committed
test.cpp: fixed misc-use-internal-linkage clang-tidy warning
1 parent 5a85b00 commit e6c4acf

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

test.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@
2727

2828
static const std::string testSourceDir = SIMPLECPP_TEST_SOURCE_DIR;
2929

30-
enum class Input : std::uint8_t {
31-
Stringstream,
32-
CharBuffer
33-
};
30+
namespace {
31+
enum class Input : std::uint8_t {
32+
Stringstream,
33+
CharBuffer
34+
};
35+
}
3436

3537
static Input USE_INPUT = Input::Stringstream;
3638
static int numberOfFailedAssertions = 0;

0 commit comments

Comments
 (0)