Skip to content
Snippets Groups Projects
Commit 08913f22 authored by Edward Brown's avatar Edward Brown
Browse files

Re #22183: Fixed shadowing variable name.

parent 1c3b60e0
No related branches found
No related tags found
No related merge requests found
......@@ -329,9 +329,9 @@ public:
// Check the boxes
std::vector<MDBoxBase<MDLeanEvent<3>, 3> *> boxes = g->getBoxes();
TS_ASSERT_EQUALS(boxes.size(), 10 * 5 * 2);
for (auto &box : boxes) {
for (auto &boxBase : boxes) {
MDBox<MDLeanEvent<3>, 3> *box =
dynamic_cast<MDBox<MDLeanEvent<3>, 3> *>(box);
dynamic_cast<MDBox<MDLeanEvent<3>, 3> *>(boxBase);
TS_ASSERT(box);
}
MDBox<MDLeanEvent<3>, 3> *box;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment