[Sanitizer] Rely on template argument deduction in sanitizer_allocator_test

llvm-svn: 177245
This commit is contained in:
Alexey Samsonov 2013-03-18 06:07:44 +00:00
parent 57a865089a
commit e25c72958a
1 changed files with 2 additions and 2 deletions

View File

@ -607,7 +607,7 @@ void TestSizeClassAllocatorIteration() {
std::set<void *> reported_chunks;
IterationTestCallback callback(&reported_chunks);
a->ForceLock();
a->template ForEachChunk<IterationTestCallback>(callback);
a->ForEachChunk(callback);
a->ForceUnlock();
for (uptr i = 0; i < allocated.size(); i++) {
@ -647,7 +647,7 @@ TEST(SanitizerCommon, LargeMmapAllocatorIteration) {
std::set<void *> reported_chunks;
IterationTestCallback callback(&reported_chunks);
a.ForceLock();
a.ForEachChunk<IterationTestCallback>(callback);
a.ForEachChunk(callback);
a.ForceUnlock();
for (uptr i = 0; i < kNumAllocs; i++) {