aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/details/unused.hxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/odb/details/unused.hxx b/odb/details/unused.hxx
new file mode 100644
index 0000000..ec0c46c
--- /dev/null
+++ b/odb/details/unused.hxx
@@ -0,0 +1,15 @@
+// file : odb/details/unused.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef ODB_UNUSED_DETAILS_HXX
+#define ODB_UNUSED_DETAILS_HXX
+
+#include <odb/pre.hxx>
+
+#define ODB_POTENTIALLY_UNUSED(x) (void)x
+
+#include <odb/post.hxx>
+
+#endif // ODB_UNUSED_DETAILS_HXX