Skip to content

Commit

Permalink
hdGp: Fix mismatched-tags warning for _ProcEntry
Browse files Browse the repository at this point in the history
_ProcEntry had been defined as a struct but was subsequently
forward-declared as a class by TF_DECLARE_WEAK_PTRS. This
caused -Wmismatched-tags warnings when building on clang.

(Internal change: 2332206)
  • Loading branch information
sunyab authored and pixar-oss committed Jun 28, 2024
1 parent 6589b16 commit b300d16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pxr/imaging/hdGp/generativeProceduralResolvingSceneIndex.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ class HdGpGenerativeProceduralResolvingSceneIndex

static void _CombinePathArrays(const _DensePathSet &s, SdfPathVector *v);

struct _ProcEntry : public TfWeakBase
class _ProcEntry : public TfWeakBase
{
public:
enum State : unsigned char {
StateUncooked = 0,
StateDependenciesCooking,
Expand Down

0 comments on commit b300d16

Please sign in to comment.