Using PathView to pass paths to APIs

This commit is contained in:
catalinvasile
2024-07-10 13:31:12 +02:00
parent d1ebc32f9d
commit 28b74b4056
499 changed files with 99851 additions and 300 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ namespace fs
class FS_API FileSource final : public ISource
{
public:
explicit FileSource(const AbsPath& i_filepath) noexcept;
FileSource(const AbsPath& i_filepath, Flags i_flags) noexcept;
explicit FileSource(AbsPathView i_filepath) noexcept;
FileSource(AbsPathView i_filepath, Flags i_flags) noexcept;
~FileSource() noexcept override;
FileSource(FileSource&& i_other) noexcept;