X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Flyxmanip.h;h=b2d08611536985bfe2265b1eec6a9c8ce24d24ca;hb=2515a3bded01e27dcc3b19502e649f01fff5ace0;hp=44426fea8c6080f9945d007c0b06c2b0177a79cc;hpb=236ea81bc5c0ce7101c9460d1ee97b8f3c9be9df;p=lyx.git diff --git a/src/support/lyxmanip.h b/src/support/lyxmanip.h index 44426fea8c..b2d0861153 100644 --- a/src/support/lyxmanip.h +++ b/src/support/lyxmanip.h @@ -12,9 +12,11 @@ #ifndef LYX_MANIP_H #define LYX_MANIP_H -#include "support/std_string.h" #include "support/std_ostream.h" + +namespace lyx { + /// struct NewLineAndDepth_ { int depth_; @@ -33,8 +35,11 @@ NewLineAndDepth_ newlineAndDepth(int n) inline std::ostream & operator<<(std::ostream & os, NewLineAndDepth_ const & nlad_) { - os << string(nlad_.depth_, ' '); + os << std::string(nlad_.depth_, ' '); return os; } + +} // namespace lyx + #endif