From 4b10db71a5c79b9787bd72864b2e1ca8e2dc8163 Mon Sep 17 00:00:00 2001 From: Paul Molodowitch Date: Tue, 30 Jul 2024 00:32:15 -0700 Subject: [PATCH] [hdEmbree] minor fixes in hdEmbree/mesh.h - forward-declare some types as struct instead of class (avoids msvc compiler warning) - comment typo fix --- pxr/imaging/plugin/hdEmbree/mesh.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pxr/imaging/plugin/hdEmbree/mesh.h b/pxr/imaging/plugin/hdEmbree/mesh.h index 29b0d55029..bbb006302f 100644 --- a/pxr/imaging/plugin/hdEmbree/mesh.h +++ b/pxr/imaging/plugin/hdEmbree/mesh.h @@ -20,8 +20,8 @@ PXR_NAMESPACE_OPEN_SCOPE -class HdEmbreePrototypeContext; -class HdEmbreeInstanceContext; +struct HdEmbreePrototypeContext; +struct HdEmbreeInstanceContext; /// \class HdEmbreeMesh /// @@ -171,7 +171,7 @@ class HdEmbreeMesh final : public HdMesh { private: // Every HdEmbreeMesh is treated as instanced; if there's no instancer, - // the prototype has a single identity istance. The prototype is stored + // the prototype has a single identity instance. The prototype is stored // as _rtcMeshId, in _rtcMeshScene. unsigned _rtcMeshId; RTCScene _rtcMeshScene;