X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_pos.C;h=b4d53521dbc943bb5bff9f84f5e1db93fd5107ec;hb=d359dd8fca52c4f0100f7cf4bf636113c5c4e49f;hp=7b57373f2ee9dab5d1a3dc1b677c274f18bf607c;hpb=a3f60ae91edbbbe66a7e2b941cb31a928a43c5b3;p=lyx.git diff --git a/src/mathed/math_pos.C b/src/mathed/math_pos.C index 7b57373f2e..b4d53521db 100644 --- a/src/mathed/math_pos.C +++ b/src/mathed/math_pos.C @@ -8,6 +8,8 @@ #include "support/LAssert.h" +using std::ostream; + MathCursorPos::MathCursorPos() : par_(0), idx_(0), pos_(0) {} @@ -61,7 +63,7 @@ int MathCursorPos::ypos() const } -std::ostream & operator<<(std::ostream & os, MathCursorPos const & p) +ostream & operator<<(ostream & os, MathCursorPos const & p) { os << "(par: " << p.par_ << " idx: " << p.idx_ << " pos: " << p.pos_ << ")"; return os; @@ -90,5 +92,3 @@ bool operator<(MathCursorPos const & p, MathCursorPos const & q) return p.idx_ < q.idx_; return p.pos_ < q.pos_; } - -