mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 23:37:31 +09:00
Fix a bug in SizeTyped templating
A second template parameter 'F' was previously added to SizeTyped, but was not correspondingly added to the argument passed for the 'Sub' parameter of BaseSize.
This commit is contained in:
parent
f1ccc95daf
commit
3bdb386b6e
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ typedef IntSizeTyped<UnknownUnits> IntSize;
|
||||||
|
|
||||||
template<class units, class F = Float>
|
template<class units, class F = Float>
|
||||||
struct SizeTyped :
|
struct SizeTyped :
|
||||||
public BaseSize< F, SizeTyped<units> >,
|
public BaseSize< F, SizeTyped<units, F> >,
|
||||||
public units {
|
public units {
|
||||||
static_assert(IsPixel<units>::value,
|
static_assert(IsPixel<units>::value,
|
||||||
"'units' must be a coordinate system tag");
|
"'units' must be a coordinate system tag");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue