X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Flyxmanip.h;h=b2d08611536985bfe2265b1eec6a9c8ce24d24ca;hb=e54ae72e5fac6f750c3f7972c74bb42b57f3a049;hp=557c2a0e163ba7f7fa1fc98eb3347f6b09364e82;hpb=9fe2fd47ea5e09eb70069fd6efd943ae843a3025;p=lyx.git diff --git a/src/support/lyxmanip.h b/src/support/lyxmanip.h index 557c2a0e16..b2d0861153 100644 --- a/src/support/lyxmanip.h +++ b/src/support/lyxmanip.h @@ -4,15 +4,18 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * - * Full author contact details are available in file CREDITS + * Full author contact details are available in file CREDITS. */ #ifndef LYX_MANIP_H #define LYX_MANIP_H -#include "support/LOstream.h" +#include "support/std_ostream.h" + + +namespace lyx { /// struct NewLineAndDepth_ { @@ -32,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