diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-07-10 02:02:19 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-07-10 02:02:19 +0200 |
| commit | 5b0e331380c83ec9835e8aa42fd342b2f0ad275d (patch) | |
| tree | 13c27f0b3420f5c3a268a5a22a9172675fdc370c /test/digest_test.cc | |
| parent | 5d838bc863a7569e68546026c109607fd5a94362 (diff) | |
Use dcp::compose rather than our own.compose
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 59a8cb7a7..0a155d8ba 100644 --- a/test/digest_test.cc +++ b/test/digest_test.cc @@ -28,9 +28,9 @@ #include "lib/film.h" #include "lib/image_content.h" #include "lib/dcp_content_type.h" -#include "lib/compose.hpp" #include "lib/config.h" #include "test.h" +#include <dcp/compose.h> #include <dcp/cpl.h> #include <dcp/reel.h> #include <dcp/reel_picture_asset.h> @@ -46,7 +46,7 @@ using std::make_shared; 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 (dcp::compose ("openssl sha1 -binary %1 | openssl base64 -e", file.string()).c_str (), "r"); BOOST_REQUIRE (pipe); char buffer[128]; string output; |
