Merge.
[libsub.git] / src / raw_convert.h
index 26fbdde6d5b801ec018ebd76e0fb14e245445f74..5d115acea317e1d9c913974c0136ed01c6cfbfc8 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef LIBSUB_RAW_CONVERT_H
 #define LIBSUB_RAW_CONVERT_H
 
+#include "util.h"
+#include <boost/static_assert.hpp>
 #include <iomanip>
 
 namespace sub {
@@ -29,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 <>