mess with includes

certain headers are included in fs_reader.h
fs namespace defined in fs_reader.h
This commit is contained in:
AustrianToast 2024-02-14 22:41:35 +01:00
parent 3bfe25a63e
commit 9357c0392c
No known key found for this signature in database
GPG Key ID: 5CD422268E489EB4

View File

@ -1,8 +1,5 @@
#include <string>
#include <vector>
#include <iostream>
#include <filesystem>
namespace fs = std::filesystem;
#include "fs_reader.h"
// from the provided path, find all files and folders
// This is done by finding all the files and folders in the starting dir
@ -32,7 +29,7 @@ std::vector<fs::path> find_all_folders(std::string filesystem_path) {
folders.insert(folders.begin()+folders.size(), entry.path());
}
}
folders.shrink_to_fit();
return folders;
}