aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-11-17 18:05:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-11-17 18:05:06 +0200
commit43e592013b1dc786cd224ce827cad24f1805ca49 (patch)
tree4f438545f081c8bec0b168019aeff306f5918e66
parent88b5d11da136b8e827536b85e070e7e914e39506 (diff)
Add support for unidirectional object relationships
New test: common/relationship.
-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