Refactoring to pass boost::optional by value instead of const ref

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@485 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2012-07-22 07:02:21 +00:00
parent e56c9f586e
commit 0357fe1dda
7 changed files with 10 additions and 11 deletions

View file

@ -92,7 +92,7 @@ namespace mock
void configure( detail::context& c, const void* p,
boost::unit_test::const_string instance,
const boost::optional< detail::type_name >& type,
boost::optional< detail::type_name > type,
boost::unit_test::const_string name ) const
{
if( ! impl_->context_ )