Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pxr/usd/sdf/predicateLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ class SdfPredicateLibrary
ParamType &param,
bool &boundAllParams,
std::vector<SdfPredicateExpression::FnArg> const &args,
std::vector<bool> &boundArgs,
std::vector<uint8_t> &boundArgs,
NamesAndDefaults const &namesAndDefaults) {

// Bind the index-th 'param' from 'args' &
Expand Down Expand Up @@ -550,7 +550,7 @@ class SdfPredicateLibrary
std::vector<SdfPredicateExpression::FnArg> const &args,
NamesAndDefaults const &namesAndDefaults,
std::index_sequence<I...>,
std::vector<bool> &boundArgs) {
std::vector<uint8_t> &boundArgs) {

// A fold expression would let us just do &&, but that's '17, so we just
// do all of them and set a bool.
Expand All @@ -572,7 +572,7 @@ class SdfPredicateLibrary
static void
_FillArbitraryArgs(std::true_type,
std::vector<SdfPredicateExpression::FnArg> const &args,
std::vector<bool> const &boundArgs,
std::vector<uint8_t> const &boundArgs,
Tuple &typedArgs) {
std::vector<SdfPredicateExpression::FnArg> &rest =
std::get<std::tuple_size<Tuple>::value-1>(typedArgs);
Expand All @@ -591,7 +591,7 @@ class SdfPredicateLibrary
static void
_FillArbitraryArgs(std::false_type,
std::vector<SdfPredicateExpression::FnArg> const &,
std::vector<bool> const &,
std::vector<uint8_t> const &,
T const &) {
// Do nothing.
}
Expand Down Expand Up @@ -657,7 +657,7 @@ class SdfPredicateLibrary
}

ParamsTuple typedArgs;
std::vector<bool> boundArgs;
std::vector<uint8_t> boundArgs;
if (_TryBindArgs(typedArgs, args, namesAndDefaults,
std::make_index_sequence<NumBindableArgs> {},
boundArgs)) {
Expand Down
Loading