mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 16:52:02 +00:00
add 'const' to reference
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3314 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
75408c2bcc
commit
685c37df7f
@ -25,7 +25,7 @@ bool Box::contained(int x, int y)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ostream & operator<<(ostream & o, Box & b)
|
ostream & operator<<(ostream & o, Box const & b)
|
||||||
{
|
{
|
||||||
return o << "x1,y1: " << b.x1 << "," << b.y1
|
return o << "x1,y1: " << b.x1 << "," << b.y1
|
||||||
<< " x2,y2: " << b.x2 << "," << b.y2 << std::endl;
|
<< " x2,y2: " << b.x2 << "," << b.y2 << std::endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user