diff options
Diffstat (limited to 'test/digest_test.cc')
| -rw-r--r-- | test/digest_test.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/digest_test.cc b/test/digest_test.cc index 39737b7f5..dc3546888 100644 --- a/test/digest_test.cc +++ b/test/digest_test.cc @@ -25,7 +25,6 @@ */ -#include "lib/compose.hpp" #include "lib/config.h" #include "lib/dcp_content_type.h" #include "lib/film.h" @@ -45,7 +44,7 @@ using std::string; static string openssl_hash (boost::filesystem::path file) { - auto pipe = popen (String::compose ("openssl sha1 -binary %1 | openssl base64 -e", file.string()).c_str (), "r"); + auto pipe = popen (fmt::format("openssl sha1 -binary {} | openssl base64 -e", file.string()).c_str (), "r"); BOOST_REQUIRE (pipe); char buffer[128]; string output; |
