From 8b0b042163f316aaadc060e0d600b4716dd4b7e4 Mon Sep 17 00:00:00 2001 From: Xiang Fan Date: Thu, 27 Apr 2017 14:37:23 -0700 Subject: [PATCH] Fix issues exposed by building with MSVC and /permissive-. Using full-qualified name to declare members inside class is ill-formed and incorrectly allowed by MSVC. MSVC now gives error when /permissive- is used. --- src/vm/sampleprofiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm/sampleprofiler.h b/src/vm/sampleprofiler.h index 2c7466f4c9d6..a5c5fc3ffd19 100644 --- a/src/vm/sampleprofiler.h +++ b/src/vm/sampleprofiler.h @@ -24,7 +24,7 @@ class SampleProfiler static void WalkManagedThreads(); // Profiling thread proc. Invoked on a new thread when profiling is enabled. - static DWORD WINAPI SampleProfiler::ThreadProc(void *args); + static DWORD WINAPI ThreadProc(void *args); // True when profiling is enabled. static Volatile s_profilingEnabled;