Tests: fix compiler warning about unused parameters

This commit is contained in:
wmayer
2024-03-06 08:14:43 +01:00
committed by wwmayer
parent a782d6f1bc
commit 12389fc549
2 changed files with 7 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
#include "PartTestHelpers.h"
#include <boost/core/ignore_unused.hpp>
#include <BRepAdaptor_CompCurve.hxx>
#include <BRepAdaptor_Surface.hxx>
#include <BRepBuilderAPI_MakeVertex.hxx>
@@ -2576,6 +2577,8 @@ TEST_F(TopoShapeExpansionTest, traceElement)
// Arrange
Data::TraceCallback cb =
[name](const Data::MappedName& elementname, int offset, long encodedTag, long tag) {
boost::ignore_unused(offset);
boost::ignore_unused(tag);
// TODO: This is likely a flawed way to address testing a callback.
// Also, it isn't clear exactly what the correct results are, although as soon as
// we start addressing History, we will quickly discover that, and likely the right