forked from qt-creator/qt-creator
ClangCodeModel: Modernize
Change-Id: Ie001a2d8ed9c82ac5fedf8e59bd56d7bbdddf919 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -221,7 +221,7 @@ CppTools::CursorInfo::Range toCursorInfoRange(const SourceRangeContainer &source
|
||||
const SourceLocationContainer &end = sourceRange.end;
|
||||
const unsigned length = end.column - start.column;
|
||||
|
||||
return CppTools::CursorInfo::Range(start.line, start.column, length);
|
||||
return {start.line, start.column, length};
|
||||
}
|
||||
|
||||
static
|
||||
|
||||
Reference in New Issue
Block a user