From 4d86fd0dbb6a29a233577803c5541e962d4d58ef Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 26 Feb 2023 21:07:11 +0100 Subject: Remove LIBDCP_VERSION in favour of dcp::version. The former is only set at configure which is a bit confusing, and I can't think of a reason to have both. --- tools/dcpverify.cc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'tools/dcpverify.cc') diff --git a/tools/dcpverify.cc b/tools/dcpverify.cc index 23023fa3..db4b2bce 100644 --- a/tools/dcpverify.cc +++ b/tools/dcpverify.cc @@ -31,10 +31,12 @@ files in the program, then also delete it here. */ -#include "verify.h" -#include "compose.hpp" + #include "common.h" +#include "compose.hpp" #include "raw_convert.h" +#include "verify.h" +#include "version.h" #include #include #include @@ -42,14 +44,16 @@ #include #include -using std::cout; + using std::cerr; +using std::cout; +using std::list; using std::string; using std::vector; -using std::list; using boost::bind; using boost::optional; + static void help (string n) { @@ -98,7 +102,7 @@ main (int argc, char* argv[]) switch (c) { case 'V': - cout << "dcpverify version " << LIBDCP_VERSION << "\n"; + cout << "dcpverify version " << dcp::version << "\n"; exit (EXIT_SUCCESS); case 'h': help (argv[0]); -- cgit v1.2.3