diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-07-03 22:35:30 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-07-03 22:35:30 +0200 |
| commit | 2d4e8c5f69cc694625ad95dcee554499605f823b (patch) | |
| tree | db816ca461a0b45d6be27a1ce37b8a03dac16f3f /src/lib/encoder.cc | |
| parent | 16e560c3815b52609de103b45c1d5d2cbf155b97 (diff) | |
C++11 tidying.
Diffstat (limited to 'src/lib/encoder.cc')
| -rw-r--r-- | src/lib/encoder.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc index fd826deb6..fe27cb7dd 100644 --- a/src/lib/encoder.cc +++ b/src/lib/encoder.cc @@ -18,6 +18,7 @@ */ + /** @file src/encoder.cc * @brief A class which takes a Film and some Options, then uses those to encode the film * into some output format. @@ -26,19 +27,18 @@ * as a parameter to the constructor. */ + #include "encoder.h" #include "player.h" #include "i18n.h" -using std::weak_ptr; -using std::shared_ptr; /** Construct an encoder. * @param film Film that we are encoding. * @param job Job that this encoder is being used in. */ -Encoder::Encoder (shared_ptr<const Film> film, weak_ptr<Job> job) +Encoder::Encoder (std::shared_ptr<const Film> film, std::weak_ptr<Job> job) : _film (film) , _job (job) , _player (new Player(film)) |
