comparison Core/FileStorage/FilesystemStorage.cpp @ 1911:7a05144cb919

author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 28 Jan 2016 17:07:22 +0100
parents b1291df2f780
children e9e6ffbf0fd5
comparison
equal deleted inserted replaced
1910:c32a8fab4fc4 1911:7a05144cb919
163 163
164 if (fs::exists(root_) && fs::is_directory(root_)) 164 if (fs::exists(root_) && fs::is_directory(root_))
165 { 165 {
166 for (fs::recursive_directory_iterator current(root_), end; current != end ; ++current) 166 for (fs::recursive_directory_iterator current(root_), end; current != end ; ++current)
167 { 167 {
168 if (fs::is_regular_file(current->status())) 168 if (Toolbox::IsRegularFile(current->path().string()))
169 { 169 {
170 try 170 try
171 { 171 {
172 fs::path d = current->path(); 172 fs::path d = current->path();
173 std::string uuid = ToString(d); 173 std::string uuid = ToString(d);