Skip to content

Commit 9856497

Browse files
committed
Replace boost::iterator_facade with explicit iterator definition
1 parent 3b6dbc7 commit 9856497

3 files changed

Lines changed: 340 additions & 40 deletions

File tree

pxr/usd/pcp/iterator.cpp

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,7 @@ PXR_NAMESPACE_OPEN_SCOPE
3434

3535
////////////////////////////////////////////////////////////
3636

37-
PcpPrimIterator::PcpPrimIterator()
38-
: _primIndex(NULL)
39-
, _pos(PCP_INVALID_INDEX)
40-
{
41-
// Do nothing
42-
}
37+
PcpPrimIterator::PcpPrimIterator() = default;
4338

4439
PcpPrimIterator::PcpPrimIterator(
4540
const PcpPrimIndex* primIndex, size_t pos)
@@ -125,11 +120,7 @@ PcpPrimIterator::_GetSiteRef() const
125120

126121
////////////////////////////////////////////////////////////
127122

128-
PcpPropertyIterator::PcpPropertyIterator()
129-
: _propertyIndex(NULL)
130-
, _pos(0)
131-
{
132-
}
123+
PcpPropertyIterator::PcpPropertyIterator() = default;
133124

134125
PcpPropertyIterator::PcpPropertyIterator(
135126
const PcpPropertyIndex& index, size_t pos)

0 commit comments

Comments
 (0)