clang-tidy: fix readability-static-definition-in-anonymous-namespace lints

This commit is contained in:
Ben Boeckel authored and Brad King committed 2022-05-24 09:09:44 -04:00
1 parent c8c9d7de03
commit b89c085237
1 file changed
+2 -2
+2 -2
View File
@@ -34,7 +34,7 @@ namespace {
* more combinations can be tried.
*/
template <typename AllocationStrategy>
static bool AllocateCTestResources(
bool AllocateCTestResources(
const std::map<std::string, cmCTestResourceAllocator::Resource>& resources,
const std::vector<std::string>& resourcesSorted, std::size_t currentIndex,
std::vector<cmCTestBinPackerAllocation*>& allocations)
@@ -82,7 +82,7 @@ static bool AllocateCTestResources(
}
template <typename AllocationStrategy>
static bool AllocateCTestResources(
bool AllocateCTestResources(
const std::map<std::string, cmCTestResourceAllocator::Resource>& resources,
std::vector<cmCTestBinPackerAllocation>& allocations)
{