C++: Fix return type in preprocessor comparator

Change-Id: I6d85a78892291db7ae0b1de8a7e3b74d0401874a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Orgad Shaneh
2023-02-12 12:41:17 +02:00
committed by Orgad Shaneh
parent 1e6933f48d
commit 728e73ea9d

View File

@@ -203,7 +203,7 @@ struct Value
inline bool is_zero () const
{ return l == 0; }
template<typename T> static bool cmpImpl(T v1, T v2)
template<typename T> static int cmpImpl(T v1, T v2)
{
if (v1 < v2)
return -1;