Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Fix issues exposed by building with MSVC and /permissive-. (#11269)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
xiangfan-ms authored and jkotas committed Apr 27, 2017
1 parent 0b13484 commit e60e06f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/sampleprofiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e60e06f

Please sign in to comment.