summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-27 11:14:17 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-27 11:14:17 +0000
commit587e70a69bd133c66c4d62fb7881753fd0133996 (patch)
tree35eb20a4b6a9563d8adbae3a07ecda4579bd7985 /libstdc++-v3/include
parent0a8b68fa1ad04e3b56733adaa1926448fd96046d (diff)
downloadgcc-587e70a69bd133c66c4d62fb7881753fd0133996.tar.gz
PR libstdc++/61329
* include/bits/regex_automaton.tcc (_State_base::_M_print): Add inline specifier. (_State_base::_M_dot): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210968 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r--libstdc++-v3/include/bits/regex_automaton.tcc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/regex_automaton.tcc b/libstdc++-v3/include/bits/regex_automaton.tcc
index e0ac3f94ceb..1c6cfdd1b9f 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)