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

Unified Diff: tools/android/forwarder2/common.h

Issue 825323002: replace COMPILE_ASSERT with static_assert in tools/ (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 | « no previous file | tools/android/memdump/memdump.cc » ('j') | tools/ipc_fuzzer/ipclist/ipclist.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/forwarder2/common.h
diff --git a/tools/android/forwarder2/common.h b/tools/android/forwarder2/common.h
index 43de57b1605289901ee6a3b0bd67c5ec314ba93f..5199efdb3b670ad84f8d94f04ede66c29179b18f 100644
--- a/tools/android/forwarder2/common.h
+++ b/tools/android/forwarder2/common.h
@@ -80,7 +80,7 @@ class FixedSizeStringBuilder {
char* write_ptr_;
char buffer_[BufferSize];
- COMPILE_ASSERT(BufferSize >= 1, Size_of_buffer_must_be_at_least_one);
+ static_assert(BufferSize >= 1, "size of buffer must be at leas_ one");
Robert Sesek 2015/01/06 15:39:44 leas_ -> least
Mostyn Bramley-Moore 2015/01/06 18:41:13 Done.
DISALLOW_COPY_AND_ASSIGN(FixedSizeStringBuilder);
};
« no previous file with comments | « no previous file | tools/android/memdump/memdump.cc » ('j') | tools/ipc_fuzzer/ipclist/ipclist.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698