mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +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>
|
||||
struct SizeTyped :
|
||||
public BaseSize< F, SizeTyped<units> >,
|
||||
public BaseSize< F, SizeTyped<units, F> >,
|
||||
public units {
|
||||
static_assert(IsPixel<units>::value,
|
||||
"'units' must be a coordinate system tag");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue