Add support for handling exceptions while using the std::filesystem::recursive_directory_iterator (#358)

* FAdd support for handling exceptions while using the filesystem::recursive_directory_iterator

* use a common namesapce
This commit is contained in:
Aryan Salmanpour
2024-05-29 16:32:51 -04:00
committed by GitHub
parent 188f7de64f
commit 04a19c0aa9
2 changed files with 27 additions and 21 deletions
+2
View File
@@ -31,8 +31,10 @@ THE SOFTWARE.
#include <cstring>
#if __cplusplus >= 201703L && __has_include(<filesystem>)
#include <filesystem>
namespace fs = std::filesystem;
#else
#include <experimental/filesystem>
namespace fs = std::experimental::filesystem;
#endif
#include <va/va.h>
#include <va/va_drm.h>