Skip to content

Commit

Permalink
change method signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
carltimmer committed Aug 14, 2024
1 parent b68cceb commit b020e62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libsrc++/EvioReaderV6.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ namespace evio {


/** {@inheritDoc} */
void EvioReaderV6::setBuffer(std::shared_ptr<ByteBuffer> & buf) {
void EvioReaderV6::setBuffer(std::shared_ptr<ByteBuffer> buf) {
if (synchronized) {
const std::lock_guard<std::mutex> lock(mtx);
}
Expand Down Expand Up @@ -100,11 +100,11 @@ namespace evio {


/** {@inheritDoc} */
std::shared_ptr<EventParser> & EvioReaderV6::getParser() {return parser;}
std::shared_ptr<EventParser> EvioReaderV6::getParser() {return parser;}


/** {@inheritDoc} */
void EvioReaderV6::setParser(std::shared_ptr<EventParser> & evParser) {
void EvioReaderV6::setParser(std::shared_ptr<EventParser> evParser) {
if (evParser != nullptr) {
this->parser = evParser;
}
Expand Down

0 comments on commit b020e62

Please sign in to comment.