From 3bdb386b6e15242fcb0f7ed973e535de48cd307e Mon Sep 17 00:00:00 2001 From: Moonchild Date: Mon, 30 Oct 2023 16:22:02 +0100 Subject: [PATCH] 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. --- gfx/2d/Point.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/2d/Point.h b/gfx/2d/Point.h index f66967622f..96b2d8d5cf 100644 --- a/gfx/2d/Point.h +++ b/gfx/2d/Point.h @@ -285,7 +285,7 @@ typedef IntSizeTyped IntSize; template struct SizeTyped : - public BaseSize< F, SizeTyped >, + public BaseSize< F, SizeTyped >, public units { static_assert(IsPixel::value, "'units' must be a coordinate system tag");