forked from qt-creator/qt-creator
Valgrind: Use QMetaEnum for parsing enum values
Change-Id: I43685e3fde662a57b6966d5f5f29d4138158b4d8 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -28,7 +28,7 @@ QT_BEGIN_NAMESPACE
|
||||
namespace QTest {
|
||||
|
||||
template<>
|
||||
inline bool qCompare(int const &t1, MemcheckErrorKind const &t2,
|
||||
inline bool qCompare(int const &t1, MemcheckError const &t2,
|
||||
char const *actual, char const *expected, char const *file, int line)
|
||||
{
|
||||
return qCompare(t1, int(t2), actual, expected, file, line);
|
||||
|
||||
Reference in New Issue
Block a user