Skip to content

Commit

Permalink
Fix clang 12
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Apr 22, 2024
1 parent 0f8b5b3 commit eda3d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/podio/Reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Reader {
podio::Frame readFrame(const std::string& name, size_t index) override {
auto maybeFrame = m_reader->readEntry(name, index);
if (maybeFrame) {
return maybeFrame;
return std::move(maybeFrame);
}
throw std::runtime_error("Could not read frame (reading beyond bounds?)");
}
Expand Down

0 comments on commit eda3d6d

Please sign in to comment.