mess with includes
certain headers are included in fs_reader.h fs namespace defined in fs_reader.h
This commit is contained in:
parent
3bfe25a63e
commit
9357c0392c
@ -1,8 +1,5 @@
|
|||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <filesystem>
|
#include "fs_reader.h"
|
||||||
namespace fs = std::filesystem;
|
|
||||||
|
|
||||||
// from the provided path, find all files and folders
|
// from the provided path, find all files and folders
|
||||||
// This is done by finding all the files and folders in the starting dir
|
// 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.insert(folders.begin()+folders.size(), entry.path());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
folders.shrink_to_fit();
|
folders.shrink_to_fit();
|
||||||
return folders;
|
return folders;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user