summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/raw_convert.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/raw_convert.h b/src/raw_convert.h
index 7d53e10..5d115ac 100644
--- a/src/raw_convert.h
+++ b/src/raw_convert.h
@@ -20,6 +20,7 @@
#ifndef LIBSUB_RAW_CONVERT_H
#define LIBSUB_RAW_CONVERT_H
+#include "util.h"
#include <boost/static_assert.hpp>
#include <iomanip>
@@ -30,12 +31,13 @@ namespace sub {
*/
template <typename P, typename Q>
P
-raw_convert (Q v, int precision = 16)
+raw_convert (Q, int precision = 16)
{
/* We can't write a generic version of raw_convert; all required
versions must be specialised.
*/
BOOST_STATIC_ASSERT (sizeof (Q) == 0);
+ LIBSUB_UNUSED (precision);
}
template <>