Skip to content

Commit 49858a2

Browse files
committed
Add work-around for bug in older GCCs
1 parent 8bdad37 commit 49858a2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

include/tao/json/value.hh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ namespace tao
6868
seize( std::move( r ) );
6969
}
7070

71+
// required work-around for a bug in older GCCs (<4.9)
72+
basic_value( const basic_value && r )
73+
: m_type( r.m_type )
74+
{
75+
embed( r );
76+
}
77+
7178
basic_value( const basic_value & r )
7279
: m_type( r.m_type )
7380
{

0 commit comments

Comments
 (0)