mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 04:05:32 +00:00
Bug 1208829 - static_assert that IntRegionTyped is instantiated with a proper unit type. r=mstange
--HG-- extra : source : da8e9461c77e26a913d25f90097baa4da48f9f49
This commit is contained in:
parent
435bd70a03
commit
76abf4edbd
@ -836,6 +836,8 @@ class IntRegionTyped :
|
||||
template <typename OtherUnits>
|
||||
friend class IntRegionTyped;
|
||||
|
||||
static_assert(IsPixel<units>::value, "'units' must be a coordinate system tag");
|
||||
|
||||
public:
|
||||
// Forward constructors.
|
||||
IntRegionTyped() {}
|
||||
|
Loading…
Reference in New Issue
Block a user