Commit 2e227c3d authored by Trevor Hickey's avatar Trevor Hickey Committed by Andreas Schuh

remove attribute where it does not apply

```
gflags.h(226): warning: attribute "visibility" does not apply here
```

The visibility attribute applies to symbols like functions and variables. A definition of an enumeration type that doesn't contain a variable name doesn't create any symbols.
parent d9b184bd
Pipeline #337 failed with stages
...@@ -223,7 +223,7 @@ extern GFLAGS_DLL_DECL bool GetCommandLineFlagInfo(const char* name, CommandLine ...@@ -223,7 +223,7 @@ extern GFLAGS_DLL_DECL bool GetCommandLineFlagInfo(const char* name, CommandLine
// if (GetCommandLineFlagInfoOrDie("foo").is_default) ... // if (GetCommandLineFlagInfoOrDie("foo").is_default) ...
extern GFLAGS_DLL_DECL CommandLineFlagInfo GetCommandLineFlagInfoOrDie(const char* name); extern GFLAGS_DLL_DECL CommandLineFlagInfo GetCommandLineFlagInfoOrDie(const char* name);
enum GFLAGS_DLL_DECL FlagSettingMode { enum FlagSettingMode {
// update the flag's value (can call this multiple times). // update the flag's value (can call this multiple times).
SET_FLAGS_VALUE, SET_FLAGS_VALUE,
// update the flag's value, but *only if* it has not yet been updated // update the flag's value, but *only if* it has not yet been updated
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment