diff options
Diffstat (limited to 'test/digest_test.cc')
| -rw-r--r-- | test/digest_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/digest_test.cc b/test/digest_test.cc index 39737b7f5..c65ddacdd 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" @@ -34,6 +33,7 @@ #include <dcp/cpl.h> #include <dcp/reel.h> #include <dcp/reel_picture_asset.h> +#include <fmt/format.h> #include <boost/test/unit_test.hpp> @@ -45,7 +45,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; |
