summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang Fan <xiangfan@microsoft.com>2017-04-27 16:48:13 -0700
committerJan Kotas <jkotas@microsoft.com>2017-04-27 16:48:13 -0700
commite60e06f9b65d3fafdd6fd78900315d765ef3c91e (patch)
treeaff5e0585b5754d9222a89bcefd64bc817e729dc
parent0b13484864faca10ff925bd0765d42089d8ed9c4 (diff)
downloadcoreclr-e60e06f9b65d3fafdd6fd78900315d765ef3c91e.tar.gz
coreclr-e60e06f9b65d3fafdd6fd78900315d765ef3c91e.tar.bz2
coreclr-e60e06f9b65d3fafdd6fd78900315d765ef3c91e.zip
Fix issues exposed by building with MSVC and /permissive-. (#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.
-rw-r--r--src/vm/sampleprofiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/sampleprofiler.h b/src/vm/sampleprofiler.h
index 2c7466f4c9..a5c5fc3ffd 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<BOOL> s_profilingEnabled;