* call.c (print_conversion_rejection): Indent messages two spaces.

From-SVN: r167677
This commit is contained in:
Nathan Froyd 2010-12-10 01:32:32 +00:00 committed by Nathan Froyd
parent 30442c59aa
commit 80f4fc8ccc
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
* call.c (print_conversion_rejection): Indent messages two spaces.
2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
* typeck.c (cp_build_indirect_ref): Call invalid_indirection_error.

View File

@ -2945,10 +2945,11 @@ print_conversion_rejection (location_t loc, struct conversion_info *info)
{
if (info->n_arg == -1)
/* Conversion of implicit `this' argument failed. */
inform (loc, "no known conversion for implicit %<this%> parameter from %qT to %qT",
inform (loc, " no known conversion for implicit "
"%<this%> parameter from %qT to %qT",
info->from_type, info->to_type);
else
inform (loc, "no known conversion for argument %d from %qT to %qT",
inform (loc, " no known conversion for argument %d from %qT to %qT",
info->n_arg+1, info->from_type, info->to_type);
}