diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-06-30 14:59:43 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-06-30 16:32:39 +0100 |
commit | eef63aacb255befb4e483cf680a3d0dcb2d8794e (patch) | |
tree | 3c7e4c90fd17e247a7c09861aafbd7b71cbb2be4 /gcc/cp/coroutines.cc | |
parent | 3c3b4224875d7b8bfd4126b9dd1d9cb028997285 (diff) | |
download | gcc-eef63aacb255befb4e483cf680a3d0dcb2d8794e.zip gcc-eef63aacb255befb4e483cf680a3d0dcb2d8794e.tar.gz gcc-eef63aacb255befb4e483cf680a3d0dcb2d8794e.tar.bz2 |
coroutines: Fix a diagnostic trailing space warning.
A recently add diagnostic has a trailing space.
Fixed thus.
gcc/cp/ChangeLog:
* coroutines.cc (morph_fn_to_coro): Remove trailing
space in a diagnostic.
Diffstat (limited to 'gcc/cp/coroutines.cc')
-rw-r--r-- | gcc/cp/coroutines.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/coroutines.cc b/gcc/cp/coroutines.cc index ba4ac682f..bec7f2f 100644 --- a/gcc/cp/coroutines.cc +++ b/gcc/cp/coroutines.cc @@ -4119,7 +4119,7 @@ morph_fn_to_coro (tree orig, tree *resumer, tree *destroyer) else if (!grooaf && TYPE_NOTHROW_P (TREE_TYPE (func))) warning_at (fn_start, 0, "%qE is marked %<throw()%> or %<noexcept%> but" " no usable %<get_return_object_on_allocation_failure%>" - " is provided by %qT ", nwname, promise_type); + " is provided by %qT", nwname, promise_type); } else /* No operator new in the promise. */ { |