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

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

Issue 839143002: Roll Chrome into Mojo. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase 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 | « third_party/mesa/BUILD.gn ('k') | tools/android/memdump/memdump.cc » ('j') | no next file with comments »
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..37dfeac67a6c5e6fd9a270d08ef34f19e3390c66 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 least one");
DISALLOW_COPY_AND_ASSIGN(FixedSizeStringBuilder);
};
« no previous file with comments | « third_party/mesa/BUILD.gn ('k') | tools/android/memdump/memdump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698