X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_pos.C;h=b4d53521dbc943bb5bff9f84f5e1db93fd5107ec;hb=d359dd8fca52c4f0100f7cf4bf636113c5c4e49f;hp=43224096563339a90a2a36968e0d0e9ff2666a60;hpb=039fa89b9fa99954964c2357530fdd47d949dc2a;p=lyx.git diff --git a/src/mathed/math_pos.C b/src/mathed/math_pos.C index 4322409656..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) {} @@ -20,6 +22,7 @@ MathCursorPos::MathCursorPos(MathInset * p) } + MathArray & MathCursorPos::cell(MathArray::idx_type idx) const { lyx::Assert(par_); @@ -60,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; @@ -89,5 +92,3 @@ bool operator<(MathCursorPos const & p, MathCursorPos const & q) return p.idx_ < q.idx_; return p.pos_ < q.pos_; } - -