Cleanup: use a default constructor.
authorCarl Hetherington <cth@carlh.net>
Tue, 8 Aug 2023 13:06:56 +0000 (15:06 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 8 Aug 2023 22:42:59 +0000 (00:42 +0200)
src/lib/film.cc

index a8d8de5c3b1515c100783188cf785aa63f8f2fcf..647675b8aa05832148d8596eef0d4ac6694ff887 100644 (file)
@@ -1304,7 +1304,7 @@ vector<CPLSummary>
 Film::cpls () const
 {
        if (!directory ()) {
-               return vector<CPLSummary> ();
+               return {};
        }
 
        vector<CPLSummary> out;