mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-08 13:03:17 +02:00
25 lines
676 B
Diff
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) {
|