void-packages/srcpkgs/logstalgia/patches/no-boost.patch
Đoàn Trần Công Danh d8e96422d5 logstalgia: for boost-1.89
2025-08-31 08:27:07 +07:00

25 lines
676 B
Diff

--- a/src/core/resource.cpp
+++ b/src/core/resource.cpp
@@ -26,7 +26,7 @@
*/
#include "resource.h"
-#include <boost/filesystem.hpp>
+#include <filesystem>
ResourceManager::ResourceManager() {
}
@@ -52,11 +52,11 @@ ResourceManager::~ResourceManager() {
}
bool ResourceManager::fileExists(const std::string& filename) {
- return boost::filesystem::is_regular_file(filename);
+ return std::filesystem::is_regular_file(filename);
}
bool ResourceManager::dirExists(const std::string& dirname) {
- return boost::filesystem::is_directory(dirname);
+ return std::filesystem::is_directory(dirname);
}
void ResourceManager::release(Resource* resource) {