@@ -526,7 +526,7 @@ ImageOutput::create(string_view filename, Filesystem::IOProxy* ioproxy,
526526{
527527 std::unique_ptr<ImageOutput> out;
528528 if (filename.empty ()) { // Can't even guess if no filename given
529- OIIO::pvt:: errorfmt (" ImageOutput::create() called with no filename" );
529+ OIIO::errorfmt (" ImageOutput::create() called with no filename" );
530530 return out;
531531 }
532532
@@ -563,9 +563,9 @@ ImageOutput::create(string_view filename, Filesystem::IOProxy* ioproxy,
563563 const char * msg
564564 = " ImageOutput::create() could not find any ImageOutput plugins! Perhaps you need to set OIIO_LIBRARY_PATH.\n " ;
565565 Strutil::print (stderr, " {}" , msg);
566- OIIO::pvt:: errorfmt (" {}" , msg);
566+ OIIO::errorfmt (" {}" , msg);
567567 } else
568- OIIO::pvt:: errorfmt (
568+ OIIO::errorfmt (
569569 " OpenImageIO could not find a format writer for \" {}\" . "
570570 " Is it a file format that OpenImageIO doesn't know about?\n " ,
571571 filename);
@@ -582,7 +582,7 @@ ImageOutput::create(string_view filename, Filesystem::IOProxy* ioproxy,
582582 }
583583 if (out && ioproxy) {
584584 if (!out->supports (" ioproxy" )) {
585- OIIO::pvt:: errorfmt (
585+ OIIO::errorfmt (
586586 " ImageOutput::create called with IOProxy, but format {} does not support IOProxy" ,
587587 out->format_name ());
588588 out.reset ();
@@ -609,7 +609,7 @@ ImageInput::create(string_view filename, bool do_open, const ImageSpec* config,
609609 // Only check REST arguments if the file does not exist
610610 if (!Filesystem::exists (filename)) {
611611 if (!Strutil::get_rest_arguments (filename, filename_stripped, args)) {
612- OIIO::pvt:: errorfmt (
612+ OIIO::errorfmt (
613613 " ImageInput::create() called with malformed filename" );
614614 return in;
615615 }
@@ -619,7 +619,7 @@ ImageInput::create(string_view filename, bool do_open, const ImageSpec* config,
619619 filename_stripped = filename;
620620
621621 if (filename_stripped.empty ()) { // Can't even guess if no filename given
622- OIIO::pvt:: errorfmt (" ImageInput::create() called with no filename" );
622+ OIIO::errorfmt (" ImageInput::create() called with no filename" );
623623 return in;
624624 }
625625
@@ -770,18 +770,18 @@ ImageInput::create(string_view filename, bool do_open, const ImageSpec* config,
770770 = " ImageInput::create() could not find any ImageInput plugins!\n "
771771 " Perhaps you need to set OIIO_LIBRARY_PATH.\n " ;
772772 Strutil::print (stderr, " {}" , msg);
773- OIIO::pvt:: errorfmt (" {}" , msg);
773+ OIIO::errorfmt (" {}" , msg);
774774 } else if (!specific_error.empty ()) {
775775 // Pass along any specific error message we got from our
776776 // best guess of the format.
777- OIIO::pvt:: errorfmt (" {}" , specific_error);
777+ OIIO::errorfmt (" {}" , specific_error);
778778 } else if (Filesystem::exists (filename))
779- pvt ::errorfmt (
779+ OIIO ::errorfmt (
780780 " OpenImageIO could not find a format reader for \" {}\" . "
781781 " Is it a file format that OpenImageIO doesn't know about?\n " ,
782782 filename);
783783 else
784- OIIO::pvt:: errorfmt (
784+ OIIO::errorfmt (
785785 " Image \" {}\" does not exist. Also, it is not the name of an image format that OpenImageIO recognizes.\n " ,
786786 filename);
787787 OIIO_DASSERT (!in);
0 commit comments