Skip to content

Commit e93a6b9

Browse files
committed
Boost.Move fixes for base classes
Signed-off-by: K-ballo <k@fusionfenix.com>
1 parent a71b624 commit e93a6b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

eggs/sqlite/statement.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ namespace eggs { namespace sqlite {
430430
, _columns( right._columns )
431431
{}
432432
istatement( BOOST_RV_REF( istatement ) right )
433-
: detail::statement_base( boost::move( right ) )
433+
: detail::statement_base( boost::move( static_cast< detail::statement_base& >( right ) ) )
434434
, _columns( boost::move( right._columns ) )
435435
{}
436436

@@ -445,7 +445,7 @@ namespace eggs { namespace sqlite {
445445
{
446446
if( this != &right )
447447
{
448-
detail::statement_base::operator =( boost::move( right ) );
448+
detail::statement_base::operator =( boost::move( static_cast< detail::statement_base& >( right ) ) );
449449
_columns = boost::move( right._columns );
450450
}
451451
return *this;
@@ -579,7 +579,7 @@ namespace eggs { namespace sqlite {
579579
, _columns( right._columns )
580580
{}
581581
ostatement( BOOST_RV_REF( ostatement ) right )
582-
: detail::statement_base( boost::move( right ) )
582+
: detail::statement_base( boost::move( static_cast< detail::statement_base& >( right ) ) )
583583
, _columns( boost::move( right._columns ) )
584584
{}
585585

@@ -594,7 +594,7 @@ namespace eggs { namespace sqlite {
594594
{
595595
if( this != &right )
596596
{
597-
detail::statement_base::operator =( boost::move( right ) );
597+
detail::statement_base::operator =( boost::move( static_cast< detail::statement_base& >( right ) ) );
598598
_columns = boost::move( right._columns );
599599
}
600600
return *this;

0 commit comments

Comments
 (0)