summaryrefslogtreecommitdiff
path: root/src/lib/video_ring_buffers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/video_ring_buffers.cc')
-rw-r--r--src/lib/video_ring_buffers.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/video_ring_buffers.cc b/src/lib/video_ring_buffers.cc
index 5f355c1ab..e78a60df7 100644
--- a/src/lib/video_ring_buffers.cc
+++ b/src/lib/video_ring_buffers.cc
@@ -19,19 +19,19 @@
*/
-#include "video_ring_buffers.h"
#include "player_video.h"
-#include "compose.hpp"
+#include "video_ring_buffers.h"
+#include <fmt/format.h>
#include <list>
#include <iostream>
+using std::cout;
using std::list;
using std::make_pair;
-using std::cout;
using std::pair;
-using std::string;
using std::shared_ptr;
+using std::string;
using boost::optional;
using namespace dcpomatic;
@@ -89,7 +89,7 @@ VideoRingBuffers::memory_used() const
for (auto const& i: _data) {
m += i.first->memory_used();
}
- return make_pair(m, String::compose("%1 frames", _data.size()));
+ return make_pair(m, fmt::format("{} frames", _data.size()));
}