diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-06-30 14:59:43 +0100 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:15:30 -0300 |
commit | 195303413dc8e84ec4554969f6316ff2fee8565e (patch) | |
tree | 118471aae472b668fbd8d90d07fd55f3220f2132 /gcc | |
parent | 0463c42f6a7be1e1ecdddfedfe9de289009c5b30 (diff) | |
download | gcc-195303413dc8e84ec4554969f6316ff2fee8565e.zip gcc-195303413dc8e84ec4554969f6316ff2fee8565e.tar.gz gcc-195303413dc8e84ec4554969f6316ff2fee8565e.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')
-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. */ { |