Skip to content
Snippets Groups Projects
Commit 4a107eba authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Kitware Robot
Browse files

Merge topic 'fix-includes'


758a6092 vtkDataAssembly: fix variable shadow warning
b69dcc7e vtkDataAssembly: add missing include

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Cory Quammen's avatarCory Quammen <cory.quammen@kitware.com>
Merge-request: !6883
parents b0b4c97a 758a6092
Branches
Tags v8.0.0.rc2
No related merge requests found
......@@ -656,11 +656,11 @@ bool vtkDataAssembly::RemoveAllDataSetIndices(int id, bool traverse_subtree /*=t
struct Walker : pugi::xml_tree_walker
{
std::vector<pugi::xml_node>* ToRemove = nullptr;
bool for_each(pugi::xml_node& node) override
bool for_each(pugi::xml_node& nnode) override
{
if (strcmp(node.name(), "dataset") == 0)
if (strcmp(nnode.name(), "dataset") == 0)
{
this->ToRemove->push_back(node);
this->ToRemove->push_back(nnode);
}
return true;
}
......
......@@ -121,6 +121,7 @@
#include <map> // for std::map
#include <memory> // for std::unique_ptr
#include <string> // for std::string
#include <vector> // for std::vector
class vtkDataAssemblyVisitor;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment