Optimisation: return notes by reference.
authorCarl Hetherington <cth@carlh.net>
Wed, 24 Jul 2024 16:39:05 +0000 (18:39 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 27 Jul 2024 11:10:44 +0000 (13:10 +0200)
src/lib/verify_dcp_job.h

index 61a34750717879a288cd22c886c9a1d3bb2cad91..e6497bd83c8fd254048e9aea14457b62c04ea925 100644 (file)
@@ -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;
        }