aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-05-30 12:42:50 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-05-30 12:42:50 +0200
commit7f50d4e53837f5ac87f3c6a0c7cc6eea11c6e89b (patch)
treeddcc49fd0145e8baba8165aa5c889b8ad6d34d4b
parent88fb6802608818b70617340b1ed826c1b8a9f1ea (diff)
Move endian-traits to odb/pgsql/details folder
-rw-r--r--odb/pgsql/details/endian-traits.cxx (renamed from odb/pgsql/endian-traits.cxx)4
-rw-r--r--odb/pgsql/details/endian-traits.hxx (renamed from odb/pgsql/endian-traits.hxx)8
-rw-r--r--odb/pgsql/makefile22
-rw-r--r--odb/pgsql/statement.cxx2
4 files changed, 18 insertions, 18 deletions
diff --git a/odb/pgsql/endian-traits.cxx b/odb/pgsql/details/endian-traits.cxx
index 00420d0..ee53e49 100644
--- a/odb/pgsql/endian-traits.cxx
+++ b/odb/pgsql/details/endian-traits.cxx
@@ -1,9 +1,9 @@
-// file : odb/pgsql/endian-traits.cxx
+// file : odb/pgsql/details/endian-traits.cxx
// author : Constantin Michael <constantin@codesynthesis.com>
// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
-#include <odb/pgsql/endian-traits.hxx>
+#include <odb/pgsql/details/endian-traits.hxx>
namespace odb
{
diff --git a/odb/pgsql/endian-traits.hxx b/odb/pgsql/details/endian-traits.hxx
index 2dc79f3..c9b6cff 100644
--- a/odb/pgsql/endian-traits.hxx
+++ b/odb/pgsql/details/endian-traits.hxx
@@ -1,10 +1,10 @@
-// file : odb/pgsql/endian-traits.hxx
+// file : odb/pgsql/details/endian-traits.hxx
// author : Constantin Michael <constantin@codesynthesis.com>
// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
-#ifndef ODB_PGSQL_ENDIAN_TRAITS_HXX
-#define ODB_PGSQL_ENDIAN_TRAITS_HXX
+#ifndef ODB_PGSQL_DETAILS_ENDIAN_TRAITS_HXX
+#define ODB_PGSQL_DETAILS_ENDIAN_TRAITS_HXX
#include <cstddef> // std::size_t
#include <algorithm> // std::reverse
@@ -135,4 +135,4 @@ namespace odb
}
}
-#endif // ODB_PGSQL_ENDIAN_TRAITS_HXX
+#endif // ODB_PGSQL_DETAILS_ENDIAN_TRAITS_HXX
diff --git a/odb/pgsql/makefile b/odb/pgsql/makefile
index 98c4479..38c4a59 100644
--- a/odb/pgsql/makefile
+++ b/odb/pgsql/makefile
@@ -6,17 +6,17 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../../build/bootstrap.make
-cxx := \
-connection.cxx \
-connection-factory.cxx \
-database.cxx \
-endian-traits.cxx \
-error.cxx \
-exceptions.cxx \
-object-statements.cxx \
-statement.cxx \
-transaction.cxx \
-transaction-impl.cxx
+cxx := \
+connection.cxx \
+connection-factory.cxx \
+database.cxx \
+error.cxx \
+exceptions.cxx \
+object-statements.cxx \
+statement.cxx \
+transaction.cxx \
+transaction-impl.cxx \
+details/endian-traits.cxx \
cli_tun := details/options.cli
cxx_tun := $(cxx)
diff --git a/odb/pgsql/statement.cxx b/odb/pgsql/statement.cxx
index 98aecb9..98627ee 100644
--- a/odb/pgsql/statement.cxx
+++ b/odb/pgsql/statement.cxx
@@ -13,7 +13,7 @@
#include <odb/pgsql/connection.hxx>
#include <odb/pgsql/transaction.hxx>
#include <odb/pgsql/error.hxx>
-#include <odb/pgsql/endian-traits.hxx>
+#include <odb/pgsql/details/endian-traits.hxx>
using namespace std;