From: Mark Wielaard Date: Sun, 2 Dec 2018 11:39:27 +0000 (+0100) Subject: Fix tsan_unittest.cpp compile error with older compilers. X-Git-Tag: VALGRIND_3_15_0~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=206e81e8add574bbb38c11105005decedabc2f4a;p=thirdparty%2Fvalgrind.git Fix tsan_unittest.cpp compile error with older compilers. Older compilers (g++ 4.8.5) don't like '>>': error: ‘>>’ should be ‘> >’ within a nested template argument list. Add an extra space. --- 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.