Bläddra i källkod

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

Ben Boeckel 3 år sedan
förälder
incheckning
b89c085237
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      Source/CTest/cmCTestBinPacker.cxx

+ 2 - 2
Source/CTest/cmCTestBinPacker.cxx

@@ -34,7 +34,7 @@ namespace {
  * more combinations can be tried.
  * more combinations can be tried.
  */
  */
 template <typename AllocationStrategy>
 template <typename AllocationStrategy>
-static bool AllocateCTestResources(
+bool AllocateCTestResources(
   const std::map<std::string, cmCTestResourceAllocator::Resource>& resources,
   const std::map<std::string, cmCTestResourceAllocator::Resource>& resources,
   const std::vector<std::string>& resourcesSorted, std::size_t currentIndex,
   const std::vector<std::string>& resourcesSorted, std::size_t currentIndex,
   std::vector<cmCTestBinPackerAllocation*>& allocations)
   std::vector<cmCTestBinPackerAllocation*>& allocations)
@@ -82,7 +82,7 @@ static bool AllocateCTestResources(
 }
 }
 
 
 template <typename AllocationStrategy>
 template <typename AllocationStrategy>
-static bool AllocateCTestResources(
+bool AllocateCTestResources(
   const std::map<std::string, cmCTestResourceAllocator::Resource>& resources,
   const std::map<std::string, cmCTestResourceAllocator::Resource>& resources,
   std::vector<cmCTestBinPackerAllocation>& allocations)
   std::vector<cmCTestBinPackerAllocation>& allocations)
 {
 {