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

Unified Diff: runtime/lib/typed_data.cc

Issue 23072026: fix cpp11 compile errors (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 | « runtime/lib/simd128.cc ('k') | runtime/vm/allocation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/typed_data.cc
===================================================================
--- runtime/lib/typed_data.cc (revision 26375)
+++ runtime/lib/typed_data.cc (working copy)
@@ -30,7 +30,7 @@
intptr_t element_size_in_bytes) {
if (!Utils::RangeCheck(offset_in_bytes, num_bytes, length_in_bytes)) {
const String& error = String::Handle(String::NewFormatted(
- "index (%"Pd") must be in the range [0..%"Pd")",
+ "index (%" Pd ") must be in the range [0..%" Pd ")",
(offset_in_bytes / element_size_in_bytes),
(length_in_bytes / element_size_in_bytes)));
const Array& args = Array::Handle(Array::New(1));
@@ -44,7 +44,7 @@
static void LengthCheck(intptr_t len, intptr_t max) {
if (len < 0 || len > max) {
const String& error = String::Handle(String::NewFormatted(
- "Length (%"Pd") of object must be in range [0..%"Pd"]",
+ "Length (%" Pd ") of object must be in range [0..%" Pd "]",
len, max));
const Array& args = Array::Handle(Array::New(1));
args.SetAt(0, error);
@@ -114,7 +114,7 @@
if (length.Value() < 0) {
const String& error = String::Handle(String::NewFormatted(
- "length (%"Pd") must be non-negative", length.Value()));
+ "length (%" Pd ") must be non-negative", length.Value()));
const Array& args = Array::Handle(Array::New(1));
args.SetAt(0, error);
Exceptions::ThrowByType(Exceptions::kArgument, args);
« no previous file with comments | « runtime/lib/simd128.cc ('k') | runtime/vm/allocation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698