Fix __invoke_r<void> to be valid in C++11
authorJonathan Wakely <jwakely@redhat.com>
Fri, 17 May 2019 09:28:17 +0000 (10:28 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 17 May 2019 09:28:17 +0000 (10:28 +0100)
commitc471fb2f94a2d84fef48948699b92bc1c4832fd0
treec006a6caa14dca8b417db7789e9281f8e8c050a8
parent32a1aa709502e10e219393dced66255cb971fad9
Fix __invoke_r<void> to be valid in C++11

* include/bits/invoke.h [__cplusplus < 201703L] (__invoke_r<void>):
Use _GLIBCXX14_CONSTEXPR because void functions cannot be constexpr
in C++11.

From-SVN: r271317
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/invoke.h