summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author田欧 <thinkerou@gmail.com>2016-08-31 13:39:41 +0800
committerAndreas Schuh <andreas.schuh.84@gmail.com>2016-08-31 06:39:41 +0100
commit408061b46974cc8377a8a794a048ecae359ad887 (patch)
tree50d260e3b415326f54d5d533170b86ac888d5e3e
parent7d31c02de8345d0a12010a0c1c8ebae37898f10e (diff)
downloadgflags-408061b46974cc8377a8a794a048ecae359ad887.tar.gz
gflags-408061b46974cc8377a8a794a048ecae359ad887.tar.bz2
gflags-408061b46974cc8377a8a794a048ecae359ad887.zip
fix make error for lacking namespace (#170)
-rw-r--r--src/gflags.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gflags.h.in b/src/gflags.h.in
index 09daac3..3732636 100644
--- a/src/gflags.h.in
+++ b/src/gflags.h.in
@@ -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, \