summaryrefslogtreecommitdiff
path: root/src/util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/util.cc b/src/util.cc
index 22041180..c5ddb611 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -36,8 +36,11 @@
#include "argb_frame.h"
#include "lut.h"
-using namespace std;
-using namespace boost;
+using std::string;
+using std::stringstream;
+using std::min;
+using std::max;
+using boost::shared_ptr;
using namespace libdcp;
string
@@ -51,9 +54,9 @@ libdcp::make_uuid ()
}
string
-libdcp::make_digest (string filename, sigc::signal1<void, float>* progress)
+libdcp::make_digest (string filename, boost::signals2::signal<void (float)>* progress)
{
- int const file_size = filesystem::file_size (filename);
+ int const file_size = boost::filesystem::file_size (filename);
Kumu::FileReader reader;
if (ASDCP_FAILURE (reader.OpenRead (filename.c_str ()))) {