diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-24 22:13:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-24 22:13:53 +0100 |
| commit | 63ea6b6c5ee64f8ee067c2b488d004b6dfe363e0 (patch) | |
| tree | d248762556466fd076cfd20f2e6aa1d5d9544184 /src/lib/encoder_factory.cc | |
| parent | 977b36672892b14de4ecb68e98415c64946e8a93 (diff) | |
Use boost::signals2; fix bugs with x-thread signalling.
Diffstat (limited to 'src/lib/encoder_factory.cc')
| -rw-r--r-- | src/lib/encoder_factory.cc | 5 |
1 files changed, 2 insertions, 3 deletions
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> encoder_factory (shared_ptr<const Film> f, shared_ptr<const Options> 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<Encoder> (new J2KStillEncoder (f, o)); } |
