wrap global function in anonymous namespace

This commit is contained in:
Michael Votaw
2025-02-11 19:39:03 -08:00
committed by teejusb
parent 97cefc6d71
commit b52ea2257b
+2 -2
View File
@@ -6,7 +6,7 @@
using namespace StepParity;
namespace {
template <typename T>
bool isEmpty(const std::vector<T> & vec, int columnCount) {
for (int i = 0; i < columnCount; i++)
@@ -18,7 +18,7 @@ bool isEmpty(const std::vector<T> & vec, int columnCount) {
}
return true;
}
}
float StepParityCost::getActionCost(State * initialState, State * resultState, std::vector<Row>& rows, int rowIndex, float elapsedTime)
{