mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
Minor clean-up.
Change-Id: Id1523930fc8aedf85506e254c67f6b1ca8dd020d Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
This commit is contained in:
@@ -13,6 +13,6 @@ namespace NEO {
|
||||
|
||||
class Directory {
|
||||
public:
|
||||
static std::vector<std::string> getFiles(std::string &path);
|
||||
static std::vector<std::string> getFiles(const std::string &path);
|
||||
};
|
||||
}; // namespace NEO
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
std::vector<std::string> Directory::getFiles(std::string &path) {
|
||||
std::vector<std::string> Directory::getFiles(const std::string &path) {
|
||||
std::vector<std::string> files;
|
||||
|
||||
DIR *dir = opendir(path.c_str());
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
std::vector<std::string> Directory::getFiles(std::string &path) {
|
||||
std::vector<std::string> Directory::getFiles(const std::string &path) {
|
||||
std::vector<std::string> files;
|
||||
std::string newPath;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user