forked from qt-creator/qt-creator
add Location::clear()
Change-Id: Id61e3d0553f3ef236d3242ac89fe66fcfc04c755 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -249,6 +249,7 @@ public:
|
||||
struct Location {
|
||||
Location() : pro(0), line(0) {}
|
||||
Location(ProFile *_pro, ushort _line) : pro(_pro), line(_line) {}
|
||||
void clear() { pro = 0; line = 0; }
|
||||
ProFile *pro;
|
||||
ushort line;
|
||||
};
|
||||
|
Reference in New Issue
Block a user