forked from qt-creator/qt-creator
Utils: Change SmallString::at from const reference to value
A char is smaller than a pointer. Change-Id: Icc34b4cb3ccd4bad22e944d1e236d60f51086cfa Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -686,7 +686,7 @@ private:
|
||||
return *(data() + index);
|
||||
}
|
||||
|
||||
const char &at(size_type index) const
|
||||
char at(size_type index) const
|
||||
{
|
||||
return *(data() + index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user