summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gflags.cc3
-rw-r--r--src/mutex.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gflags.cc b/src/gflags.cc
index 285050f..a35bbfe 100644
--- a/src/gflags.cc
+++ b/src/gflags.cc
@@ -111,6 +111,9 @@
#include "mutex.h"
#include "util.h"
+using namespace MUTEX_NAMESPACE;
+
+
// Special flags, type 1: the 'recursive' flags. They set another flag's val.
DEFINE_string(flagfile, "", "load flags from file");
DEFINE_string(fromenv, "", "set flags from the environment"
diff --git a/src/mutex.h b/src/mutex.h
index 0bdd9d5..ff96f2b 100644
--- a/src/mutex.h
+++ b/src/mutex.h
@@ -344,8 +344,5 @@ class WriterMutexLock {
} // namespace MUTEX_NAMESPACE
-using namespace MUTEX_NAMESPACE;
-
-#undef MUTEX_NAMESPACE
#endif /* #define GFLAGS_MUTEX_H__ */