summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-07-24 18:39:05 +0200
committerCarl Hetherington <cth@carlh.net>2024-07-27 13:10:44 +0200
commitc6b9b7a6ce33e53db65beb6b169f3d9a8f8cfa45 (patch)
treeb7cffd371e2cb9d73ef4b7ce483c509fe5834e79
parentb96aae6352fa76f3a6632344986c170e94f9a167 (diff)
Optimisation: return notes by reference.
-rw-r--r--src/lib/verify_dcp_job.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/verify_dcp_job.h b/src/lib/verify_dcp_job.h
index 61a347507..e6497bd83 100644
--- a/src/lib/verify_dcp_job.h
+++ b/src/lib/verify_dcp_job.h
@@ -36,7 +36,7 @@ public:
std::string json_name () const override;
void run () override;
- std::vector<dcp::VerificationNote> notes () const {
+ std::vector<dcp::VerificationNote> const& notes() const {
return _notes;
}