Small optimisation: use a const&
[dcpomatic.git] / src / lib / analyse_subtitles_job.cc
index f0dacf36bf0b829c86bce347f560264776b20fe4..d222ad3b8b28d9a98b67f2ec9386155e3c3b431b 100644 (file)
@@ -92,7 +92,7 @@ AnalyseSubtitlesJob::run ()
 
 
 void
-AnalyseSubtitlesJob::analyse (PlayerText text, TextType type)
+AnalyseSubtitlesJob::analyse(PlayerText const& text, TextType type)
 {
        if (type != TextType::OPEN_SUBTITLE) {
                return;