diff options
author | saturneric <[email protected]> | 2024-01-12 15:08:38 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-12 15:08:38 +0000 |
commit | 6983b5c1dd82d159236ebd06cf17f071cc9c1ee9 (patch) | |
tree | fc53f790e33546320b2ecd306a1a9ade6fbdfe7a /src/core/utils/FilesystemUtils.h | |
parent | fix: slove a heap-use-after-free issue (diff) | |
download | GpgFrontend-6983b5c1dd82d159236ebd06cf17f071cc9c1ee9.tar.gz GpgFrontend-6983b5c1dd82d159236ebd06cf17f071cc9c1ee9.zip |
refactor: remove boost and use QString instead of std::filesystem::path
Diffstat (limited to 'src/core/utils/FilesystemUtils.h')
-rw-r--r-- | src/core/utils/FilesystemUtils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/utils/FilesystemUtils.h b/src/core/utils/FilesystemUtils.h index addd37ac..0b58bbb7 100644 --- a/src/core/utils/FilesystemUtils.h +++ b/src/core/utils/FilesystemUtils.h @@ -55,7 +55,7 @@ auto GPGFRONTEND_CORE_EXPORT GetOnlyFileNameWithPath(const QString& path) * @return int64_t */ auto GPGFRONTEND_CORE_EXPORT GetFileSizeByPath( - const std::filesystem::path& path, const QString& filename_pattern) + const QString& path, const QString& filename_pattern) -> int64_t; /** @@ -73,6 +73,6 @@ auto GPGFRONTEND_CORE_EXPORT GetHumanFriendlyFileSize(int64_t size) -> QString; * @param filename_pattern */ void GPGFRONTEND_CORE_EXPORT DeleteAllFilesByPattern( - const std::filesystem::path& path, const QString& filename_pattern); + const QString& path, const QString& filename_pattern); } // namespace GpgFrontend
\ No newline at end of file |