summaryrefslogtreecommitdiffstats
path: root/src/common/cmdparse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/cmdparse.cc')
-rw-r--r--src/common/cmdparse.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/cmdparse.cc b/src/common/cmdparse.cc
index 598d95b5733..a19041845e1 100644
--- a/src/common/cmdparse.cc
+++ b/src/common/cmdparse.cc
@@ -12,6 +12,7 @@
*
*/
+#include "include/common_fwd.h"
#include "common/cmdparse.h"
#include "common/Formatter.h"
#include "common/debug.h"
@@ -22,6 +23,7 @@
* Given a cmddesc like "foo baz name=bar,type=CephString",
* return the prefix "foo baz".
*/
+namespace TOPNSPC::common {
std::string cmddesc_get_prefix(const std::string_view &cmddesc)
{
string tmp(cmddesc); // FIXME: stringstream ctor can't take string_view :(
@@ -661,4 +663,4 @@ bool cmd_getval(const cmdmap_t& cmdmap,
return false;
}
-
+}