diff options
Diffstat (limited to 'src/lib/content.cc')
| -rw-r--r-- | src/lib/content.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc index 2a69adefd..196288f4a 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -26,7 +26,6 @@ #include "audio_content.h" #include "change_signaller.h" -#include "compose.hpp" #include "content.h" #include "content_factory.h" #include "exceptions.h" @@ -296,9 +295,9 @@ Content::clone() const string Content::technical_summary() const { - auto s = String::compose("%1 %2 %3", path_summary(), digest(), position().seconds()); + auto s = fmt::format("{} {} {}", path_summary(), digest(), position().seconds()); if (_video_frame_rate) { - s += String::compose(" %1", *_video_frame_rate); + s += fmt::format(" {}", *_video_frame_rate); } return s; } @@ -452,7 +451,7 @@ Content::add_properties(shared_ptr<const Film>, list<UserProperty>& p) const } } if (paths_to_show < number_of_paths()) { - paths += String::compose("... and %1 more", number_of_paths() - paths_to_show); + paths += fmt::format("... and {} more", number_of_paths() - paths_to_show); } p.push_back( UserProperty( |
