projects
/
libsub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcd8bf5
)
Fix another unused variable warning.
author
Carl Hetherington
<cth@carlh.net>
Mon, 21 Dec 2020 22:27:17 +0000
(23:27 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 21 Dec 2020 22:27:17 +0000
(23:27 +0100)
src/raw_convert.h
patch
|
blob
|
history
diff --git
a/src/raw_convert.h
b/src/raw_convert.h
index 7d53e10686110e20638f77f989ac4543b4d7db55..5d115acea317e1d9c913974c0136ed01c6cfbfc8 100644
(file)
--- 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 <>