Use ::new to avoid finding overloaded operator new
authorJonathan Wakely <jwakely@redhat.com>
Sat, 6 Aug 2016 10:21:07 +0000 (11:21 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 6 Aug 2016 10:21:07 +0000 (11:21 +0100)
commit6ef835c6c0c1d141e5b926dd8f9b41a6b68c783a
treee0efdbc3f88caa72eec8ce388a33eafd15a971ed
parent467719fbf259d4c8f01cd370b1de53043497024e
Use ::new to avoid finding overloaded operator new

PR libstdc++/72820
* include/std/functional (_Function_base::_Base_manager::_M_clone):
Qualify new operator.
* testsuite/20_util/function/cons/72820.cc: New test.

From-SVN: r239191
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/function/cons/72820.cc [new file with mode: 0644]