From e25c72958aae003854681f6635abde091333d41c Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Mon, 18 Mar 2013 06:07:44 +0000 Subject: [PATCH] [Sanitizer] Rely on template argument deduction in sanitizer_allocator_test llvm-svn: 177245 --- compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cc b/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cc index 8d3a61c..a8747a5 100644 --- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cc +++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cc @@ -607,7 +607,7 @@ void TestSizeClassAllocatorIteration() { std::set reported_chunks; IterationTestCallback callback(&reported_chunks); a->ForceLock(); - a->template ForEachChunk(callback); + a->ForEachChunk(callback); a->ForceUnlock(); for (uptr i = 0; i < allocated.size(); i++) { @@ -647,7 +647,7 @@ TEST(SanitizerCommon, LargeMmapAllocatorIteration) { std::set reported_chunks; IterationTestCallback callback(&reported_chunks); a.ForceLock(); - a.ForEachChunk(callback); + a.ForEachChunk(callback); a.ForceUnlock(); for (uptr i = 0; i < kNumAllocs; i++) { -- 2.7.4