Skip to content

Commit

Permalink
Remove unused PcpPrimIndexOutputs::Swap function.
Browse files Browse the repository at this point in the history
(Internal change: 2263690)
  • Loading branch information
sunyab authored and pixar-oss committed Feb 21, 2023
1 parent 5bea33d commit dd8ec8b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pxr/usd/pcp/primIndex.h
Original file line number Diff line number Diff line change
Expand Up @@ -321,15 +321,6 @@ class PcpPrimIndexOutputs
/// Site dependencies from nodes in the prim index that have been culled.
std::vector<PcpCulledDependency> culledDependencies;

/// Swap content with \p r.
inline void swap(PcpPrimIndexOutputs &r) {
primIndex.swap(r.primIndex);
allErrors.swap(r.allErrors);
std::swap(payloadState, r.payloadState);
dynamicFileFormatDependency.swap(r.dynamicFileFormatDependency);
culledDependencies.swap(r.culledDependencies);
}

/// Appends the outputs from \p childOutputs to this object, using
/// \p arcToParent to connect \p childOutputs' prim index to this object's
/// prim index.
Expand All @@ -341,9 +332,6 @@ class PcpPrimIndexOutputs
PcpErrorBasePtr *error);
};

/// Free function version for generic code and ADL.
inline void swap(PcpPrimIndexOutputs &l, PcpPrimIndexOutputs &r) { l.swap(r); }

/// \class PcpPrimIndexInputs
///
/// Inputs for the prim indexing procedure.
Expand Down

0 comments on commit dd8ec8b

Please sign in to comment.