1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-11-26 20:28:50 -05:00

fixed template specialization on GCC

This commit is contained in:
epezent 2020-08-17 16:04:08 -05:00
parent bd4036fbff
commit 632808ca4c

View File

@ -244,8 +244,8 @@ struct TransformerLogLog {
template <typename T>
struct MaxIdx { static const unsigned int Value; };
const unsigned int MaxIdx<unsigned short>::Value = 65535;
const unsigned int MaxIdx<unsigned int>::Value = 4294967295;
template <> const unsigned int MaxIdx<unsigned short>::Value = 65535;
template <> const unsigned int MaxIdx<unsigned int>::Value = 4294967295;
/// Renders primitive shapes in bulk as efficiently as possible.
template <typename Renderer>