diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-08 10:35:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-08 10:35:32 +0000 |
| commit | 8803a19c6901ab3c3ff85c964343f08458e0824e (patch) | |
| tree | c6e1703bf3fb40cfe2ee5bd9674b5184e2bd4484 /src/exceptions.h | |
| parent | 83591a4390db550a7d1495b9699c62315e2d7710 (diff) | |
Remove compose.hpp dependency from header.
Diffstat (limited to 'src/exceptions.h')
| -rw-r--r-- | src/exceptions.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/exceptions.h b/src/exceptions.h index 602aa16b..2070dd0f 100644 --- a/src/exceptions.h +++ b/src/exceptions.h @@ -21,7 +21,6 @@ #define LIBDCP_EXCEPTIONS_H #include <boost/filesystem.hpp> -#include "compose.hpp" /** @file src/exceptions.h * @brief Exceptions thrown by libdcp. @@ -34,12 +33,7 @@ namespace libdcp class FileError : public std::exception { public: - FileError (std::string const & message, boost::filesystem::path filename, int number) - : _message (String::compose ("%1 (error %2) (%3)", message, filename.string(), number)) - , _filename (filename) - , _number (number) - {} - + FileError (std::string const & message, boost::filesystem::path filename, int number); ~FileError () throw () {} /** @return error message */ |
