From 78dace323a24a9f995926812619453ade74828f8 Mon Sep 17 00:00:00 2001 From: Xiang Fan Date: Thu, 27 Apr 2017 16:48:13 -0700 Subject: [PATCH] Fix issues exposed by building with MSVC and /permissive-. (dotnet/coreclr#11269) 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. Commit migrated from https://github.com/dotnet/coreclr/commit/e60e06f9b65d3fafdd6fd78900315d765ef3c91e --- src/coreclr/src/vm/sampleprofiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/src/vm/sampleprofiler.h b/src/coreclr/src/vm/sampleprofiler.h index 2c7466f..a5c5fc3 100644 --- a/src/coreclr/src/vm/sampleprofiler.h +++ b/src/coreclr/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; -- 2.7.4