aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-06-24 13:03:47 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-06-24 13:03:47 +0200
commitcc85f32604ef14b5ee96871287d425f0b3a090ff (patch)
tree7f8f5e797743dc9db11c2533eeab6d3fbf1b7e9a
parent1a8871ac673335cd51cf8fd905312651706a389d (diff)
Add hack to deal with pgsql::details/odb::details namespace clash
-rw-r--r--odb/pgsql/details/endian-traits.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/odb/pgsql/details/endian-traits.hxx b/odb/pgsql/details/endian-traits.hxx
index c9b6cff..b21d51e 100644
--- a/odb/pgsql/details/endian-traits.hxx
+++ b/odb/pgsql/details/endian-traits.hxx
@@ -11,10 +11,20 @@
namespace odb
{
+ // @@ Revise this.
+ //
+ namespace details
+ {
+ }
+
namespace pgsql
{
namespace details
{
+ // @@ Revise this.
+ //
+ using namespace odb::details;
+
template <typename T, std::size_t S = sizeof (T)>
struct swap_endian;