]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
common: Update config_values.h to work without using namespace
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 01:38:25 +0000 (21:38 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 29 Mar 2019 14:30:38 +0000 (10:30 -0400)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/common/config_values.h

index fe7b36a40a78e72cf0b89edf788136c0e4f94235..51f79235332908f67619f1fa28fd8d8019f04cd6 100644 (file)
@@ -17,7 +17,7 @@
 // debug logging settings, and some other "unnamed" settings, like entity name of
 // the daemon.
 class ConfigValues {
-  using values_t = std::map<std::string_view, map<int32_t,Option::value_t>>;
+  using values_t = std::map<std::string_view, std::map<int32_t,Option::value_t>>;
   values_t values;
   // for populating md_config_impl::legacy_values in ctor
   friend struct md_config_t;
@@ -25,7 +25,7 @@ class ConfigValues {
 public:
   EntityName name;
   /// cluster name
-  string cluster;
+  std::string cluster;
   ceph::logging::SubsystemMap subsys;
   bool no_mon_config = false;
   // Set of configuration options that have changed since the last