From 206e81e8add574bbb38c11105005decedabc2f4a Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sun, 2 Dec 2018 12:39:27 +0100 Subject: [PATCH] Fix tsan_unittest.cpp compile error with older compilers. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Older compilers (g++ 4.8.5) don't like '>>': error: ‘>>’ should be ‘> >’ within a nested template argument list. Add an extra space. --- drd/tests/tsan_unittest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drd/tests/tsan_unittest.cpp b/drd/tests/tsan_unittest.cpp index c504e9f93f..16fe837756 100644 --- a/drd/tests/tsan_unittest.cpp +++ b/drd/tests/tsan_unittest.cpp @@ -7218,7 +7218,7 @@ bool NoElementsLeft(vector *v) { } void WaitForAllThreadsToFinish_Good() { - mu.LockWhen(Condition>(NoElementsLeft, vec)); + mu.LockWhen(Condition >(NoElementsLeft, vec)); mu.Unlock(); // It is now safe to access vec w/o lock. -- 2.47.3