Bug 1321412 - Fix a bug in the definition of SizeTyped. r=kats

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.

MozReview-Commit-ID: 2pRQXeWMJpP

--HG--
extra : rebase_source : c1e71b18fdb303f9684d0c9c26dca2462fa0f62d
This commit is contained in:
Botond Ballo 2016-11-23 19:26:55 -05:00
Родитель 1633caa488
Коммит 3a6277caff
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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");