Merge.
[libsub.git] / src / raw_convert.h
index 7d53e10686110e20638f77f989ac4543b4d7db55..5d115acea317e1d9c913974c0136ed01c6cfbfc8 100644 (file)
@@ -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 <>