Compile fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user