forked from qt-creator/qt-creator
Fixed possible crash when parsing template declarations at the end of a C++ file.
This commit is contained in:
@@ -310,8 +310,7 @@ public:
|
||||
inline unsigned cursor() const
|
||||
{ return _tokenIndex; }
|
||||
|
||||
inline void rewind(unsigned cursor)
|
||||
{ _tokenIndex = cursor; }
|
||||
void rewind(unsigned cursor);
|
||||
|
||||
struct TemplateArgumentListEntry {
|
||||
unsigned index;
|
||||
|
||||
Reference in New Issue
Block a user