region: rename far to away

far is a reserved word in win32
This commit is contained in:
Danny Robson 2015-02-18 02:32:52 +11:00
parent a5ecbb6bff
commit cb5e76cff9
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ util::region<T>::base (void) const
//-----------------------------------------------------------------------------
template <typename T>
util::point<2,T>
util::region<T>::far (void) const
util::region<T>::away (void) const
{
return { x + w, y + h };
}

View File

@ -55,7 +55,7 @@ namespace util {
bool empty (void) const;
point<2,T> base (void) const;
point<2,T> far (void) const;
point<2,T> away (void) const;
point<2,T> centre (void) const;
point<2,T> closest (point<2,T>) const;