summaryrefslogtreecommitdiff
path: root/src/vm/exceptmacros.h
diff options
context:
space:
mode:
authorJeremy Koritzinsky <jkoritzinsky@gmail.com>2018-10-31 17:56:38 -0700
committerGitHub <noreply@github.com>2018-10-31 17:56:38 -0700
commitbd5cc690bca0c798952b14b989ad1bf8e8f00011 (patch)
tree5c5a39659f20dabafa194a9d07134d54cd07b666 /src/vm/exceptmacros.h
parent8aa5101cea45183e882326f465007909d1b862a0 (diff)
downloadcoreclr-bd5cc690bca0c798952b14b989ad1bf8e8f00011.tar.gz
coreclr-bd5cc690bca0c798952b14b989ad1bf8e8f00011.tar.bz2
coreclr-bd5cc690bca0c798952b14b989ad1bf8e8f00011.zip
Clean up string literal implicit const casting and some two-phase lookup nits on Windows (#20730)
* Remove implicit c-string const casting and clean up some C++ standards conformance bugs. * Fix const string conversion in FCSigCheck.
Diffstat (limited to 'src/vm/exceptmacros.h')
-rw-r--r--src/vm/exceptmacros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/exceptmacros.h b/src/vm/exceptmacros.h
index 2af064c96d..8e78fc4221 100644
--- a/src/vm/exceptmacros.h
+++ b/src/vm/exceptmacros.h
@@ -434,7 +434,7 @@ VOID DECLSPEC_NORETURN DispatchManagedException(PAL_SEHException& ex, bool isHar
#define CANNOTTHROWCOMPLUSEXCEPTION() ANNOTATION_NOTHROW; \
COMPlusCannotThrowExceptionHelper _dummyvariable(TRUE, __FUNCTION__, __FILE__, __LINE__);
-extern char *g_ExceptionFile;
+extern const char *g_ExceptionFile;
extern DWORD g_ExceptionLine;
#define THROWLOG() ( g_ExceptionFile = __FILE__, g_ExceptionLine = __LINE__, TRUE )