From 632808ca4c6eb38ac264187c38655acecc8d9c9e Mon Sep 17 00:00:00 2001 From: epezent Date: Mon, 17 Aug 2020 16:04:08 -0500 Subject: [PATCH] fixed template specialization on GCC --- implot_items.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/implot_items.cpp b/implot_items.cpp index 136d302..5f7f60d 100644 --- a/implot_items.cpp +++ b/implot_items.cpp @@ -244,8 +244,8 @@ struct TransformerLogLog { template struct MaxIdx { static const unsigned int Value; }; -const unsigned int MaxIdx::Value = 65535; -const unsigned int MaxIdx::Value = 4294967295; +template <> const unsigned int MaxIdx::Value = 65535; +template <> const unsigned int MaxIdx::Value = 4294967295; /// Renders primitive shapes in bulk as efficiently as possible. template