Skip to content

Commit 43dd326

Browse files
committed
hioOiio: remove use of OIIO_NAMESPACE_USING macro
This macro was removed in OpenImageIO 3.1, but it previously expanded simply to "using namespace OIIO;" and had been that way since at least OpenImageIO v2.0.14, so we can just use that directly instead.
1 parent a7c0637 commit 43dd326

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pxr/imaging/plugin/hioOiio/metadata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ PXR_NAMESPACE_OPEN_SCOPE
1818
class TfToken;
1919
class VtValue;
2020

21-
OIIO_NAMESPACE_USING
21+
using namespace OIIO;
2222

2323
bool
2424
HioOIIO_ExtractCustomMetadata(

pxr/imaging/plugin/hioOiio/oiioImage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ARCH_PRAGMA_POP
3333

3434
PXR_NAMESPACE_OPEN_SCOPE
3535

36-
OIIO_NAMESPACE_USING
36+
using namespace OIIO;
3737

3838
// _ioProxySupportedExtensions is a list of hardcoded file extensions that
3939
// support ioProxy. Although OIIO has an api call for checking whether or

0 commit comments

Comments
 (0)