From: Jonathan Wakely Date: Tue, 27 May 2014 11:14:17 +0000 (+0100) Subject: re PR libstdc++/61329 (#include and _GLIBCXX_DEBUG causes multiple symbol... X-Git-Tag: releases/gcc-5.1.0~7260 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ecb249ddf2adce82e03946dab9022203c9e5e5ec;p=thirdparty%2Fgcc.git re PR libstdc++/61329 (#include and _GLIBCXX_DEBUG causes multiple symbol definition.) PR libstdc++/61329 * include/bits/regex_automaton.tcc (_State_base::_M_print): Add inline specifier. (_State_base::_M_dot): Likewise. From-SVN: r210968 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index c2e7127b56a5..18d60abe0eab 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2014-05-27 Jonathan Wakely + + PR libstdc++/61329 + * include/bits/regex_automaton.tcc (_State_base::_M_print): Add + inline specifier. + (_State_base::_M_dot): Likewise. + 2014-05-24 François Dumont * include/profile/array: Clean useless white chars. diff --git a/libstdc++-v3/include/bits/regex_automaton.tcc b/libstdc++-v3/include/bits/regex_automaton.tcc index e0ac3f94ceb7..1c6cfdd1b9f2 100644 --- a/libstdc++-v3/include/bits/regex_automaton.tcc +++ b/libstdc++-v3/include/bits/regex_automaton.tcc @@ -35,7 +35,7 @@ namespace __detail _GLIBCXX_BEGIN_NAMESPACE_VERSION #ifdef _GLIBCXX_DEBUG - std::ostream& + inline std::ostream& _State_base::_M_print(std::ostream& ostr) const { switch (_M_opcode) @@ -67,7 +67,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION } // Prints graphviz dot commands for state. - std::ostream& + inline std::ostream& _State_base::_M_dot(std::ostream& __ostr, _StateIdT __id) const { switch (_M_opcode)