From 63ea6b6c5ee64f8ee067c2b488d004b6dfe363e0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 24 Oct 2012 22:13:53 +0100 Subject: Use boost::signals2; fix bugs with x-thread signalling. --- src/lib/encoder_factory.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/lib/encoder_factory.cc') diff --git a/src/lib/encoder_factory.cc b/src/lib/encoder_factory.cc index df45535cf..2da021ad8 100644 --- a/src/lib/encoder_factory.cc +++ b/src/lib/encoder_factory.cc @@ -26,13 +26,12 @@ #include "j2k_still_encoder.h" #include "film.h" -using namespace std; -using namespace boost; +using boost::shared_ptr; shared_ptr encoder_factory (shared_ptr f, shared_ptr o) { - if (!filesystem::is_directory (f->content_path()) && f->content_type() == STILL) { + if (!boost::filesystem::is_directory (f->content_path()) && f->content_type() == STILL) { return shared_ptr (new J2KStillEncoder (f, o)); } -- cgit v1.2.3