aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schuh <andreas.schuh.84@gmail.com>2015-10-27 23:00:58 +0000
committerAndreas Schuh <andreas.schuh.84@gmail.com>2015-10-27 23:00:58 +0000
commit4e61c45ef9b3321695a647003d6849d12cf161f8 (patch)
tree3799f2631646fb221ebaaa24b1caea2309b0116e /src
parentf0523f14a93cbb46fff9b318508aa1c6923158c7 (diff)
downloadgflags-4e61c45ef9b3321695a647003d6849d12cf161f8.tar.gz
#124 Remove using namespace from mutex.h
Diffstat (limited to 'src')
-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__ */