Commit 7d76dd00 authored by Tobias Hunger's avatar Tobias Hunger

CPlusPlus: Fix isQtReservedWord

checking for size >= 4 masks Q_D and Q_Q.

Change-Id: If9ab7d3b2c2c571e73b98e89908e492fc6241296
Reviewed-by: Erik Verbruggen's avatarErik Verbruggen <erik.verbruggen@qt.io>
parent 9c895ed6
......@@ -89,7 +89,7 @@ static bool same(const char *a, const char *b, int size)
static bool isQtReservedWord(const char *name, int size)
{
if (size < 4)
if (size < 3)
return false;
const char c = name[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment