aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-07-23 21:48:25 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-07-23 21:48:25 +0200
commit23ef7ba87faa6c63f30ab79a4850d540ca2c15e9 (patch)
treed74f4485ec7266d2b285615a0cabd5c4c43d1e15
parent72f0237f3310a69fd566f1d2c25ca805f677199a (diff)
Change unused macro to use a void pointer instead of a reference
-rw-r--r--odb/details/unused.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/details/unused.hxx b/odb/details/unused.hxx
index 43cfee0..bf1638f 100644
--- a/odb/details/unused.hxx
+++ b/odb/details/unused.hxx
@@ -8,7 +8,7 @@
#include <odb/pre.hxx>
-#define ODB_POTENTIALLY_UNUSED(x) (void)x
+#define ODB_POTENTIALLY_UNUSED(x) (void*)&x
#include <odb/post.hxx>