]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: use narrower ostream header instead of sstream
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 8 Jan 2021 17:09:42 +0000 (09:09 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 11 Jan 2021 17:31:29 +0000 (09:31 -0800)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/FSMap.cc
src/mds/MDCache.cc
src/mds/MDSAuthCaps.h
src/mds/MDSMap.cc
src/mds/cephfs_features.cc

index 2fc8371150a25554d878e5001a5289dc09999332..6de16189dcc2d31815c133746c204b442a8e97f3 100644 (file)
  * 
  */
 
+#include <ostream>
 
 #include "FSMap.h"
 
 #include "common/StackStringStream.h"
 
-#include <sstream>
 #ifdef WITH_SEASTAR
 #include "crimson/common/config_proxy.h"
 #else
index d25535754a2bb6377ca90897c2a60dcec7a8b0f9..d0b40412f98847c35f7071315c5fbf55fdee424d 100644 (file)
@@ -14,7 +14,7 @@
 
 #include <errno.h>
 #include <fstream>
-#include <sstream>
+#include <ostream>
 #include <string>
 #include <string_view>
 #include <map>
index eaac0918f315651b806d011344160e7caca197d8..fee779a7fa762b24f91d6cf983b9c691ae433c69 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef MDS_AUTH_CAPS_H
 #define MDS_AUTH_CAPS_H
 
-#include <sstream>
+#include <ostream>
 #include <string>
 #include <string_view>
 #include <vector>
index e655922a63fdd0db0fcfeeb555482c61180bf4e0..d372786eed97bab64b624069a233ad64e4992554 100644 (file)
@@ -12,7 +12,7 @@
  * 
  */
 
-#include <sstream>
+#include <ostream>
 
 #include "common/debug.h"
 #include "mon/health_check.h"
index d458fe8f345e8164f678a0505bbcba715b4b74c3..081c0e3b4b381219e88edbd526296b3c41f7f1ca 100644 (file)
@@ -2,7 +2,6 @@
 // vim: ts=8 sw=2 smarttab
 
 #include <array>
-#include <sstream>
 #include "cephfs_features.h"
 #include "mdstypes.h"