Using PathView to pass paths to APIs
This commit is contained in:
@@ -15,8 +15,8 @@ class FS_API FileMapSource final : public IMapSource
|
||||
{
|
||||
friend class NativeFilesystem;
|
||||
public:
|
||||
explicit FileMapSource(const AbsPath& filepath);
|
||||
FileMapSource(const AbsPath& filepath, uint64_t start, size_t size);
|
||||
explicit FileMapSource(AbsPathView filepath);
|
||||
FileMapSource(AbsPathView filepath, uint64_t start, size_t size);
|
||||
|
||||
~FileMapSource() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user