浏览代码

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

Ben Boeckel 3 年之前
父节点
当前提交
b89c085237
共有 1 个文件被更改,包括 2 次插入2 次删除
  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)
 {