diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-19 17:07:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-19 20:50:22 +0100 |
| commit | 7c9fdd71ebe24ea926d90fc70ad8afa24719e6e0 (patch) | |
| tree | 838c85db7c6f53428fe5c512f494e8a7a09bf928 /src/lib/create_cli.h | |
| parent | cdf97239b1d5d4e6f8db7e909df9c5045fc4f65f (diff) | |
Move most of the create CLI into create_cli.cc to make it more testable.
Diffstat (limited to 'src/lib/create_cli.h')
| -rw-r--r-- | src/lib/create_cli.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/create_cli.h b/src/lib/create_cli.h index 18115b4ca..0c4d97b6c 100644 --- a/src/lib/create_cli.h +++ b/src/lib/create_cli.h @@ -55,7 +55,7 @@ public: boost::optional<std::string> error; std::vector<Content> content; - std::shared_ptr<Film> make_film() const; + std::shared_ptr<Film> make_film(std::function<void (std::string)> error) const; private: friend struct ::create_cli_test; |
