Common: Fix issues in utility classes for readbacks

This commit is contained in:
Connor McLaughlin
2019-11-14 16:57:58 +10:00
parent 4bab3bffc0
commit 878a76e258
4 changed files with 23 additions and 13 deletions

View File

@ -96,7 +96,7 @@ struct Rectangle
right op## = amount; \
bottom op## = amount; \
} \
constexpr Rectangle operator op(const T amount) \
constexpr Rectangle operator op(const T amount) const \
{ \
return Rectangle(left op amount, top op amount, right op amount, bottom op amount); \
}