Compile fixes

This commit is contained in:
Clifford Yapp
2023-09-15 21:41:43 -04:00
parent bed3319cd6
commit 68d5b2c31c
2 changed files with 2 additions and 1 deletions
@@ -61,6 +61,7 @@
#include "foundation/platform/_beginoiioheaders.h"
#include "OpenImageIO/imagebufalgo.h"
#include "OpenImageIO/typedesc.h"
#include "OpenImageIO/imagecache.h"
#include "foundation/platform/_endoiioheaders.h"
// Standard headers.
@@ -79,7 +79,7 @@ namespace
try
{
create_directories(dest_path.parent_path());
copy_file(source_path, dest_path, copy_option::overwrite_if_exists);
copy_file(source_path, dest_path, copy_options::overwrite_existing);
return true;
}
catch (const std::exception& e) // namespace qualification required