diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-05-17 18:22:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-05-24 13:09:44 (GMT) |
commit | b89c085237b4f4b379c7974fb2c7f2689f66f16d (patch) | |
tree | ad8626316d3b3e077dc53370a7cd7db0794a001a /Source | |
parent | c8c9d7de0395fa7384ae823d5ee3bebdb310a172 (diff) | |
download | CMake-b89c085237b4f4b379c7974fb2c7f2689f66f16d.zip CMake-b89c085237b4f4b379c7974fb2c7f2689f66f16d.tar.gz CMake-b89c085237b4f4b379c7974fb2c7f2689f66f16d.tar.bz2 |
clang-tidy: fix `readability-static-definition-in-anonymous-namespace` lints
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/cmCTestBinPacker.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestBinPacker.cxx b/Source/CTest/cmCTestBinPacker.cxx index 239499c..6eb45fa 100644 --- a/Source/CTest/cmCTestBinPacker.cxx +++ b/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) { |