diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-07-27 11:04:34 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-27 11:04:34 +0200 |
| commit | eea26eb0c876c8ef0e91c3f96a175261a8017778 (patch) | |
| tree | 669c5493c41d5e8f4a454c81b7c4ebcb41b0e5bf /src/raw_convert.h | |
| parent | 09d3fd999cd9dae6e5b9b3db69af3452ab0fadf2 (diff) | |
Fix some unused variable warnings.
Diffstat (limited to 'src/raw_convert.h')
| -rw-r--r-- | src/raw_convert.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/raw_convert.h b/src/raw_convert.h index fb3c7954..2a0d7add 100644 --- a/src/raw_convert.h +++ b/src/raw_convert.h @@ -34,6 +34,7 @@ #ifndef LIBDCP_RAW_CONVERT_H #define LIBDCP_RAW_CONVERT_H +#include "util.h" #include <boost/static_assert.hpp> #include <iomanip> @@ -44,12 +45,14 @@ namespace dcp { */ template <typename P, typename Q> P -raw_convert (Q v, int precision = 16, bool fixed = false) +raw_convert (Q, int precision = 16, bool fixed = false) { /* We can't write a generic version of raw_convert; all required versions must be specialised. */ BOOST_STATIC_ASSERT (sizeof (Q) == 0); + LIBDCP_UNUSED(precision); + LIBDCP_UNUSED(fixed); } template <> |
