Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Clang Template errors #1977

Merged
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion nanovdb/nanovdb/tools/GridBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ struct LeafNode
ValueIterator& operator=(const ValueIterator&) = default;
ValueType operator*() const { NANOVDB_ASSERT(*this); return mParent->mValues[mPos];}
Coord getCoord() const { NANOVDB_ASSERT(*this); return mParent->offsetToGlobalCoord(mPos);}
bool isActive() const { NANOVDB_ASSERT(*this); return mParent->isActive(mPos);}
dgovil marked this conversation as resolved.
Show resolved Hide resolved
bool isActive() const { NANOVDB_ASSERT(*this); return mParent->mValueMask.isOn(mPos);}
operator bool() const {return mPos < SIZE;}
ValueIterator& operator++() {++mPos; return *this;}
ValueIterator operator++(int) {
Expand Down
6 changes: 3 additions & 3 deletions openvdb/openvdb/tree/NodeManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ class NodeList
void operator()(const NodeRange& range) const
{
for (typename NodeRange::Iterator it = range.begin(); it; ++it) {
OpT::template eval(mNodeOp, it);
OpT::eval(mNodeOp, it);
dgovil marked this conversation as resolved.
Show resolved Hide resolved
}
}
const NodeOp mNodeOp;
Expand All @@ -348,7 +348,7 @@ class NodeList
void operator()(const NodeRange& range) const
{
for (typename NodeRange::Iterator it = range.begin(); it; ++it) {
OpT::template eval(mNodeOp, it);
OpT::eval(mNodeOp, it);
dgovil marked this conversation as resolved.
Show resolved Hide resolved
}
}
const NodeOp& mNodeOp;
Expand All @@ -373,7 +373,7 @@ class NodeList
void operator()(const NodeRange& range)
{
for (typename NodeRange::Iterator it = range.begin(); it; ++it) {
OpT::template eval(*mNodeOp, it);
OpT::eval(*mNodeOp, it);
dgovil marked this conversation as resolved.
Show resolved Hide resolved
}
}
void join(const NodeReducer& other)
Expand Down
Loading