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:
Marco Bubke
2018-01-17 13:47:54 +01:00
parent a572b2db6a
commit 19984076ff

View File

@@ -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