std_stdexcept.h (logic_error::logic_error): Use string object, not reference.
authorBenjamin Kosnik <bkoz@redhat.com>
Tue, 27 Feb 2001 04:13:17 +0000 (04:13 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 27 Feb 2001 04:13:17 +0000 (04:13 +0000)
commit0349df29f030a533d0a0dfd1b2db491a49b05436
tree31e71f34a373d06d13ee94e113871c4ae6fc8a13
parent8bb3dc7766c027a46f0345c4f9c291b42178a903
std_stdexcept.h (logic_error::logic_error): Use string object, not reference.

2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/1972
libstdc++/2089
* include/bits/std_stdexcept.h (logic_error::logic_error): Use
string object, not reference.
(runtime_error::runtime_error): Same.
* testsuite/19_diagnostics/stdexceptions.cc: New file.

From-SVN: r40079
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/std_stdexcept.h
libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc [new file with mode: 0644]