Browse Source

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

Ben Boeckel 3 years ago
parent
commit
b89c085237
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/CTest/cmCTestBinPacker.cxx

+ 2 - 2
Source/CTest/cmCTestBinPacker.cxx

@@ -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)
 {