Skip to content

Commit

Permalink
possible gcc move workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwonko committed Nov 22, 2015
1 parent b98d133 commit f4be5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/qcommon/safe/sscanf.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ namespace Q
template< typename CharT >
inline ArrayViewStreambuf< typename std::remove_cv< CharT >::type > MakeStreambuf( const gsl::array_view< const CharT >& view )
{
return{ view };
return std::move( ArrayViewStreambuf< typename std::remove_cv< CharT >::type >( view ) );
}

/**
Expand Down

0 comments on commit f4be5d2

Please sign in to comment.