summaryrefslogtreecommitdiffstats
path: root/configd/src/apps/sentinel/line-splitter.h
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-08-11 23:48:01 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-08-11 23:48:01 +0200
commit5af28bdf6597d963a0e0ed8f616477c9a7613aa5 (patch)
tree7e56e3136d2d0d9ef5a4d08c5119eef4fed68daf /configd/src/apps/sentinel/line-splitter.h
parent58c64dcee69101bf08bd632c2281feae9fa8474b (diff)
- make the construction of the pstack command string safe.
- Allow for immediate KILL without requesting stack dump.
Diffstat (limited to 'configd/src/apps/sentinel/line-splitter.h')
-rw-r--r--configd/src/apps/sentinel/line-splitter.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/configd/src/apps/sentinel/line-splitter.h b/configd/src/apps/sentinel/line-splitter.h
index 1fd9fce8653..f6802004ef7 100644
--- a/configd/src/apps/sentinel/line-splitter.h
+++ b/configd/src/apps/sentinel/line-splitter.h
@@ -1,8 +1,7 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
-namespace config {
-namespace sentinel {
+namespace config::sentinel {
class LineSplitter {
private:
@@ -28,6 +27,5 @@ public:
~LineSplitter();
};
-} // end namespace config::sentinel
-} // end namespace config
+}