diff options
author | Xiang Fan <xiangfan@microsoft.com> | 2017-04-27 16:48:13 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-04-27 16:48:13 -0700 |
commit | e60e06f9b65d3fafdd6fd78900315d765ef3c91e (patch) | |
tree | aff5e0585b5754d9222a89bcefd64bc817e729dc | |
parent | 0b13484864faca10ff925bd0765d42089d8ed9c4 (diff) | |
download | coreclr-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.h | 2 |
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; |