aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-16 14:09:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-16 14:09:48 +0200
commitc183122a8dacd536e94b8716a028ec63dc0825d4 (patch)
tree1cbe9a24a1eac2a12fec9fa6e1e1749c00779eae
parent5e8f409c88a632c1ca29cc02c61826f6ca4325a6 (diff)
Try to clean up inline exports2.5.0-a9
-rw-r--r--odb/pgsql/binding.hxx6
-rw-r--r--odb/pgsql/query.hxx2
-rw-r--r--odb/pgsql/statement-cache.hxx4
-rw-r--r--odb/pgsql/traits.hxx9
4 files changed, 8 insertions, 13 deletions
diff --git a/odb/pgsql/binding.hxx b/odb/pgsql/binding.hxx
index 534281f..fbdea63 100644
--- a/odb/pgsql/binding.hxx
+++ b/odb/pgsql/binding.hxx
@@ -12,13 +12,11 @@
#include <odb/pgsql/version.hxx>
#include <odb/pgsql/pgsql-types.hxx>
-#include <odb/pgsql/details/export.hxx>
-
namespace odb
{
namespace pgsql
{
- class LIBODB_PGSQL_EXPORT native_binding
+ class native_binding
{
public:
native_binding (char** v,
@@ -39,7 +37,7 @@ namespace odb
native_binding& operator= (const native_binding&);
};
- class LIBODB_PGSQL_EXPORT binding
+ class binding
{
public:
typedef pgsql::bind bind_type;
diff --git a/odb/pgsql/query.hxx b/odb/pgsql/query.hxx
index 73fe764..b53e867 100644
--- a/odb/pgsql/query.hxx
+++ b/odb/pgsql/query.hxx
@@ -637,7 +637,7 @@ namespace odb
// query_column
//
- struct LIBODB_PGSQL_EXPORT query_column_base
+ struct query_column_base
{
// Note that we keep shallow copies of the table, column, and conversion
// expression. The latter can be NULL.
diff --git a/odb/pgsql/statement-cache.hxx b/odb/pgsql/statement-cache.hxx
index 90be105..3004194 100644
--- a/odb/pgsql/statement-cache.hxx
+++ b/odb/pgsql/statement-cache.hxx
@@ -20,13 +20,11 @@
#include <odb/pgsql/forward.hxx>
#include <odb/pgsql/statements-base.hxx>
-#include <odb/pgsql/details/export.hxx>
-
namespace odb
{
namespace pgsql
{
- class LIBODB_PGSQL_EXPORT statement_cache
+ class statement_cache
{
public:
statement_cache (connection& conn)
diff --git a/odb/pgsql/traits.hxx b/odb/pgsql/traits.hxx
index dc90dda..a7b2e0a 100644
--- a/odb/pgsql/traits.hxx
+++ b/odb/pgsql/traits.hxx
@@ -423,11 +423,10 @@ namespace odb
};
template <>
- struct LIBODB_PGSQL_EXPORT default_value_traits<char*, id_string>:
- c_string_value_traits {};
+ struct default_value_traits<char*, id_string>: c_string_value_traits {};
template <>
- struct LIBODB_PGSQL_EXPORT default_value_traits<const char*, id_string>:
+ struct default_value_traits<const char*, id_string>:
c_string_value_traits {};
// char[N] specializations.
@@ -508,7 +507,7 @@ namespace odb
// char specialization.
//
template <>
- struct LIBODB_PGSQL_EXPORT default_value_traits<char, id_string>
+ struct default_value_traits<char, id_string>
{
typedef char value_type;
typedef char query_type;
@@ -754,7 +753,7 @@ namespace odb
// char[16] specialization for uuid.
//
template <>
- struct LIBODB_PGSQL_EXPORT default_value_traits<char[16], id_uuid>
+ struct default_value_traits<char[16], id_uuid>
{
typedef char* value_type;
typedef char query_type[16];