We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6dcd3f commit 6437343Copy full SHA for 6437343
test/t/util/test_config.cpp
@@ -7,10 +7,10 @@ namespace osmium {
7
8
namespace detail {
9
10
- static const char* env = nullptr; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
11
- static std::string name; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
12
-
+ static const char* env = nullptr; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables,misc-use-anonymous-namespace)
+ static std::string name; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables,misc-use-anonymous-namespace)
13
+ // NOLINTNEXTLINE(misc-use-internal-linkage)
14
inline const char* getenv_wrapper(const char* var) noexcept {
15
name = var;
16
return env;
0 commit comments