mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
14 lines
247 B
C++
14 lines
247 B
C++
|
#include <config.h>
|
||
|
#include <algorithm>
|
||
|
|
||
|
#include "math_mathmlstream.h"
|
||
|
#include "math_streamstr.h"
|
||
|
|
||
|
|
||
|
WriteStream & operator<<(WriteStream & ws, string const & s)
|
||
|
{
|
||
|
ws.os() << s;
|
||
|
ws.line() += std::count(s.begin(), s.end(), '\n');
|
||
|
return ws;
|
||
|
}
|