re PR libstdc++/61946 (rope construction, passing allocator referenct without const)
authorJonathan Wakely <jwakely@redhat.com>
Tue, 29 Jul 2014 17:30:25 +0000 (18:30 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 29 Jul 2014 17:30:25 +0000 (18:30 +0100)
commitaec20dcf3914c7f60f92efd5b708759d2acc2460
treefcecc3c812af3319476dfdf300143ec4bdc5c1d9
parent212c47b4def1116c3822b6072dcb561be76d6cd3
re PR libstdc++/61946 (rope construction, passing allocator referenct without const)

PR libstdc++/61946
* include/ext/rope (rope::rope(char_producer<_CharT>*, size_t, bool,
const allocator_type&)): Pass non-const allocator to
_S_new_RopeFunction.
* testsuite/ext/rope/61946.cc: New.

From-SVN: r213220
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/rope
libstdc++-v3/testsuite/ext/rope/61946.cc [new file with mode: 0644]