forked from qt-creator/qt-creator
Utils: Derive FilePathView from SmallStringView
If FilePathView has derived publicity from SmallStringView it can be much easier used in generic algorithms. Change-Id: Icfaa5739ee46d9ff4419a73f87f84f2525e10ccf Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
namespace ClangBackEnd {
|
||||
|
||||
template <char WindowsSlash>
|
||||
class AbstractFilePathView : protected Utils::SmallStringView
|
||||
class AbstractFilePathView : public Utils::SmallStringView
|
||||
{
|
||||
public:
|
||||
explicit AbstractFilePathView(const char *const string, const size_type size) noexcept
|
||||
|
Reference in New Issue
Block a user