Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.2.1, Qt Creator 4.3.0-beta1
-
None
-
7fb81d94f40b8a9538c4521244396b5772e1cfae
Description
In 'commandTokens' (see 'src\libs\qtcreatorcdbext\qtcreatorcdbextension.cpp'), it has the following code:
typedef StringContainer::iterator ContainerIterator;
StringContainer is template parameter, so it is dependent.
MSVC incorrectly allows the code, but 'typename' is required to indicate 'iterator' to be a type.
The fix is:
typedef typename StringContainer::iterator ContainerIterator;