Add const qualifier to pixel_position operator~.
This commit is contained in:
parent
fafd229341
commit
e5e9b9ea23
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ struct pixel_position
|
|||
}
|
||||
|
||||
pixel_position rotate(rotation const& rot) const;
|
||||
pixel_position operator~()
|
||||
pixel_position operator~() const
|
||||
{
|
||||
return pixel_position(x, -y);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue