From 1d8a03a7b9121bb2c61e8ec315920c452516afcf Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 16 Jun 2026 11:37:59 +0200 Subject: Query the modification time with std::filesystem --- backend/pkgtools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/pkgtools.cpp') diff --git a/backend/pkgtools.cpp b/backend/pkgtools.cpp index f6c9b00..e3f7355 100644 --- a/backend/pkgtools.cpp +++ b/backend/pkgtools.cpp @@ -109,7 +109,7 @@ public: + reinterpret_cast(sqlite3_column_text(statement, 1)); ret = std::filesystem::exists(dest_filename) - || get_file(&curl, source_url.c_str(), dest_filename.native().c_str()) == CURLE_OK; + || get_file(&curl, source_url.c_str(), dest_filename) == CURLE_OK; if (curl) { -- cgit v1.2.3