Skip to content

Commit 84f9d55

Browse files
committed
An upcoming change in mainline clang will be validating templated code even when the specific path is not taken during compilation.
This fix removes on such unused path from SdfChildrenProxy in the assignment operator where there is no implementation of _Set
1 parent 08c9df9 commit 84f9d55

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pxr/usd/sdf/childrenProxy.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@ class SdfChildrenProxy {
5252
return *_pos;
5353
}
5454

55-
template <class U>
56-
_ValueProxy& operator=(const U& x)
57-
{
58-
_owner->_Set(*_pos, x);
59-
return *this;
60-
}
61-
6255
bool operator==(const mapped_type& other) const
6356
{
6457
return *_pos == other;

0 commit comments

Comments
 (0)