diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-20 14:14:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-08 00:35:29 +0100 |
| commit | d39880eef211a296fa8ef4712cdef5945d08527c (patch) | |
| tree | 45dce8f3e1fd599ca76677e31eee2a71c9a4fbc1 /src/transfer_function.h | |
| parent | 75faebaf1d74e2b52360905e94e9f5bf31c34124 (diff) | |
std::shared_ptr
Diffstat (limited to 'src/transfer_function.h')
| -rw-r--r-- | src/transfer_function.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transfer_function.h b/src/transfer_function.h index 8facf8a4..52624c66 100644 --- a/src/transfer_function.h +++ b/src/transfer_function.h @@ -39,7 +39,7 @@ #define LIBDCP_TRANSFER_FUNCTION_H #include <boost/noncopyable.hpp> -#include <boost/shared_ptr.hpp> +#include <memory> #include <boost/thread/mutex.hpp> #include <map> @@ -56,7 +56,7 @@ public: /** @return A look-up table (of size 2^bit_depth) whose values range from 0 to 1 */ double const * lut (int bit_depth, bool inverse) const; - virtual bool about_equal (boost::shared_ptr<const TransferFunction> other, double epsilon) const = 0; + virtual bool about_equal (std::shared_ptr<const TransferFunction> other, double epsilon) const = 0; protected: /** Make a LUT and return an array allocated by new */ |
