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

Unified Diff: runtime/vm/dart_api_impl.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/vm/dart_api_impl.h ('k') | runtime/vm/dart_api_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl.cc
===================================================================
--- runtime/vm/dart_api_impl.cc (revision 26375)
+++ runtime/vm/dart_api_impl.cc (working copy)
@@ -1836,7 +1836,7 @@
if ((length < str_size) || (length > String::kMaxElements)) {
return Api::NewError("Dart_MakeExternalString "
"expects argument length to be in the range"
- "[%"Pd"..%"Pd"].",
+ "[%" Pd "..%" Pd "].",
str_size, String::kMaxElements);
}
if (str_obj.InVMHeap()) {
@@ -3879,7 +3879,7 @@
" snapshot.", CURRENT_FUNC);
}
if (snapshot->length() != buffer_len) {
- return Api::NewError("%s: 'buffer_len' of %"Pd" is not equal to %d which"
+ return Api::NewError("%s: 'buffer_len' of %" Pd " is not equal to %d which"
" is the expected length in the snapshot.",
CURRENT_FUNC, buffer_len, snapshot->length());
}
@@ -3981,7 +3981,7 @@
if (cls.NumTypeArguments() == 0) {
if (number_of_type_arguments != 0) {
return Api::NewError("Invalid number of type arguments specified, "
- "got %"Pd" expected 0", number_of_type_arguments);
+ "got %" Pd " expected 0", number_of_type_arguments);
}
return Api::NewHandle(isolate, Type::NewNonParameterizedType(cls));
}
@@ -3993,7 +3993,7 @@
}
if (num_expected_type_arguments != number_of_type_arguments) {
return Api::NewError("Invalid number of type arguments specified, "
- "got %"Pd" expected %"Pd,
+ "got %" Pd " expected %" Pd,
number_of_type_arguments,
num_expected_type_arguments);
}
@@ -4003,7 +4003,7 @@
}
if (array.Length() != num_expected_type_arguments) {
return Api::NewError("Invalid type arguments specified, expected an "
- "array of len %"Pd" but got an array of len %"Pd,
+ "array of len %" Pd " but got an array of len %" Pd,
number_of_type_arguments,
array.Length());
}
« no previous file with comments | « runtime/vm/dart_api_impl.h ('k') | runtime/vm/dart_api_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698