diff --git a/src/libsrc++/EvioReaderV6.cpp b/src/libsrc++/EvioReaderV6.cpp index a21c2209c..144196b02 100644 --- a/src/libsrc++/EvioReaderV6.cpp +++ b/src/libsrc++/EvioReaderV6.cpp @@ -65,7 +65,7 @@ namespace evio { /** {@inheritDoc} */ - void EvioReaderV6::setBuffer(std::shared_ptr & buf) { + void EvioReaderV6::setBuffer(std::shared_ptr buf) { if (synchronized) { const std::lock_guard lock(mtx); } @@ -100,11 +100,11 @@ namespace evio { /** {@inheritDoc} */ - std::shared_ptr & EvioReaderV6::getParser() {return parser;} + std::shared_ptr EvioReaderV6::getParser() {return parser;} /** {@inheritDoc} */ - void EvioReaderV6::setParser(std::shared_ptr & evParser) { + void EvioReaderV6::setParser(std::shared_ptr evParser) { if (evParser != nullptr) { this->parser = evParser; }