diff --git a/alib2cli/src/common/ResultInterpret.h b/alib2cli/src/common/ResultInterpret.h index b9eb215bbc182119428329cca9890cdf5e3860ec..528bdab91d80a25f8af009d778c6e75f09c5602b 100644 --- a/alib2cli/src/common/ResultInterpret.h +++ b/alib2cli/src/common/ResultInterpret.h @@ -8,7 +8,7 @@ namespace cli { class ResultInterpret { public: - static int cli ( std::shared_ptr < abstraction::Value > result ) { + static int cli ( const std::shared_ptr < abstraction::Value > & result ) { if ( result ) { std::shared_ptr < abstraction::ValueHolderInterface < int > > ptr1 = std::dynamic_pointer_cast < abstraction::ValueHolderInterface < int > > ( result ); if ( ptr1 )