mirror of
https://github.com/gflags/gflags.git
synced 2025-04-05 05:25:04 +00:00
fix make error for lacking namespace (#170)
This commit is contained in:
parent
7d31c02de8
commit
408061b469
1 changed files with 1 additions and 0 deletions
|
@ -581,6 +581,7 @@ public:
|
|||
#define DEFINE_string(name, val, txt) \
|
||||
namespace fLS { \
|
||||
using ::fLS::clstring; \
|
||||
using ::fLS::StringFlagDestructor; \
|
||||
static union { void* align; char s[sizeof(clstring)]; } s_##name[2]; \
|
||||
clstring* const FLAGS_no##name = ::fLS:: \
|
||||
dont_pass0toDEFINE_string(s_##name[0].s, \
|
||||
|
|
Loading…
Add table
Reference in a new issue