forked from qt-creator/qt-creator
Utils: Convert to SmallStringView for comparison
Change-Id: I38d9716225b81091e8e75b26c9c2258a2aefa987 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -29,9 +29,15 @@ namespace Utils {
|
||||
|
||||
using uint = unsigned int;
|
||||
|
||||
class SmallStringView;
|
||||
template <uint Size>
|
||||
class BasicSmallString;
|
||||
using SmallString = BasicSmallString<31>;
|
||||
using PathString = BasicSmallString<190>;
|
||||
|
||||
inline
|
||||
int compare(SmallStringView first, SmallStringView second) noexcept;
|
||||
inline
|
||||
int reverseCompare(SmallStringView first, SmallStringView second) noexcept;
|
||||
|
||||
} // namespace Utils
|
||||
|
||||
Reference in New Issue
Block a user