forked from qt-creator/qt-creator
C++: Fix return type in preprocessor comparator
Change-Id: I6d85a78892291db7ae0b1de8a7e3b74d0401874a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
1e6933f48d
commit
728e73ea9d
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user