Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(887)

Unified Diff: sandbox/win/src/Wow64.cc

Issue 821693003: replace COMPILE_ASSERT with static_assert in sandbox/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/linux/tests/scoped_temporary_file.cc ('k') | sandbox/win/src/crosscall_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/Wow64.cc
diff --git a/sandbox/win/src/Wow64.cc b/sandbox/win/src/Wow64.cc
index 59df1d6f6741db720e3ac4fbc550f96bbfb2a0c6..60ee13d25877da49683f6972fa74b19ccee2b98c 100644
--- a/sandbox/win/src/Wow64.cc
+++ b/sandbox/win/src/Wow64.cc
@@ -137,7 +137,7 @@ bool Wow64::WaitForNtdll() {
}
bool Wow64::RunWowHelper(void* buffer) {
- COMPILE_ASSERT(sizeof(buffer) <= sizeof(DWORD), unsupported_64_bits);
+ static_assert(sizeof(buffer) <= sizeof(DWORD), "unsupported 64 bits");
// Get the path to the helper (beside the exe).
wchar_t prog_name[MAX_PATH];
« no previous file with comments | « sandbox/linux/tests/scoped_temporary_file.cc ('k') | sandbox/win/src/crosscall_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698