]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: Reverse deleted include 23838/head
authorWillem Jan Withagen <wjw@digiware.nl>
Fri, 31 Aug 2018 10:21:45 +0000 (12:21 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Fri, 31 Aug 2018 10:21:45 +0000 (12:21 +0200)
Reversing 1 delete from
https://github.com/ceph/ceph/commit/09d3f546b32cdf126a1246899a0b0a3eb25282d8

Clang trips over this:
home/jenkins/workspace/ceph-master/src/common/ConfUtils.cc:94:19: error: implicit instantiation of undefined template 'std::__1::basic_ostringstream<char, std::
__1::char_traits<char>, std::__1::allocator<char> >'
    ostringstream oss;
                  ^
/usr/include/c++/v1/iosfwd:123:32: note: template is declared here
    class _LIBCPP_TEMPLATE_VIS basic_ostringstream;
                               ^

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/common/ConfUtils.cc

index ee008a39ce671136b7f95f028bf8d08fad9860c2..7c8f1cc78b7f02cdfea3dd26d49a31a9298216a8 100644 (file)
@@ -14,6 +14,7 @@
 
 #include <algorithm>
 #include <map>
+#include <sstream>
 #include <sys/stat.h>
 #include <iostream>