aboutsummaryrefslogtreecommitdiff
path: root/odb/details
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-16 14:27:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-16 14:27:02 +0200
commit49a851317a3696f49f9ee6ce1dee20ee9dece3ae (patch)
tree500fec922eb1be62d0b3738b88d07061abc4cc53 /odb/details
parenta4aeed97fe567dd40fd86498637d461a68eb4eed (diff)
Try to clean up inline exports
Diffstat (limited to 'odb/details')
-rw-r--r--odb/details/c-string.hxx4
-rw-r--r--odb/details/condition.hxx3
-rw-r--r--odb/details/exception.hxx6
-rw-r--r--odb/details/lock.hxx3
-rw-r--r--odb/details/mutex.hxx3
-rw-r--r--odb/details/shared-ptr/base.hxx2
-rw-r--r--odb/details/shared-ptr/base.txx2
-rw-r--r--odb/details/type-info.hxx4
8 files changed, 8 insertions, 19 deletions
diff --git a/odb/details/c-string.hxx b/odb/details/c-string.hxx
index c4739a4..79c5689 100644
--- a/odb/details/c-string.hxx
+++ b/odb/details/c-string.hxx
@@ -9,13 +9,11 @@
#include <cstring>
-#include <odb/details/export.hxx>
-
namespace odb
{
namespace details
{
- struct LIBODB_EXPORT c_string_comparator
+ struct c_string_comparator
{
bool
operator() (const char* x, const char* y) const
diff --git a/odb/details/condition.hxx b/odb/details/condition.hxx
index 1baa81b..34c5c62 100644
--- a/odb/details/condition.hxx
+++ b/odb/details/condition.hxx
@@ -8,7 +8,6 @@
#include <odb/pre.hxx>
#include <odb/details/config.hxx>
-#include <odb/details/export.hxx>
#ifdef ODB_THREADS_NONE
@@ -19,7 +18,7 @@ namespace odb
class mutex;
class lock;
- class LIBODB_EXPORT condition
+ class condition
{
public:
condition (mutex&) {}
diff --git a/odb/details/exception.hxx b/odb/details/exception.hxx
index 6838801..37ee1c9 100644
--- a/odb/details/exception.hxx
+++ b/odb/details/exception.hxx
@@ -9,15 +9,11 @@
#include <odb/exception.hxx>
-#include <odb/details/export.hxx>
-
namespace odb
{
namespace details
{
- struct LIBODB_EXPORT exception: odb::exception
- {
- };
+ struct exception: odb::exception {};
}
}
diff --git a/odb/details/lock.hxx b/odb/details/lock.hxx
index 28f3ede..afc4c7b 100644
--- a/odb/details/lock.hxx
+++ b/odb/details/lock.hxx
@@ -7,7 +7,6 @@
#include <odb/pre.hxx>
-#include <odb/details/export.hxx>
#include <odb/details/mutex.hxx>
#ifdef ODB_THREADS_CXX11
@@ -24,7 +23,7 @@ namespace odb
{
namespace details
{
- class LIBODB_EXPORT lock
+ class lock
{
public:
lock (mutex& m)
diff --git a/odb/details/mutex.hxx b/odb/details/mutex.hxx
index 2508f68..a0adc33 100644
--- a/odb/details/mutex.hxx
+++ b/odb/details/mutex.hxx
@@ -8,7 +8,6 @@
#include <odb/pre.hxx>
#include <odb/details/config.hxx>
-#include <odb/details/export.hxx>
#ifdef ODB_THREADS_NONE
@@ -16,7 +15,7 @@ namespace odb
{
namespace details
{
- class LIBODB_EXPORT mutex
+ class mutex
{
public:
mutex () {}
diff --git a/odb/details/shared-ptr/base.hxx b/odb/details/shared-ptr/base.hxx
index 90053e8..a0a6ae2 100644
--- a/odb/details/shared-ptr/base.hxx
+++ b/odb/details/shared-ptr/base.hxx
@@ -18,7 +18,7 @@ namespace odb
{
namespace details
{
- struct LIBODB_EXPORT share
+ struct share
{
explicit
share (char id);
diff --git a/odb/details/shared-ptr/base.txx b/odb/details/shared-ptr/base.txx
index d018c88..c15f508 100644
--- a/odb/details/shared-ptr/base.txx
+++ b/odb/details/shared-ptr/base.txx
@@ -13,7 +13,7 @@ namespace odb
{
// Support for locating the counter in the memory block.
//
- struct LIBODB_EXPORT locator_common
+ struct locator_common
{
static std::size_t*
counter (void*);
diff --git a/odb/details/type-info.hxx b/odb/details/type-info.hxx
index 96d2cc8..5a4f9ec 100644
--- a/odb/details/type-info.hxx
+++ b/odb/details/type-info.hxx
@@ -9,13 +9,11 @@
#include <typeinfo>
-#include <odb/details/export.hxx>
-
namespace odb
{
namespace details
{
- struct LIBODB_EXPORT type_info_comparator
+ struct type_info_comparator
{
bool
operator() (const std::type_info* x, const std::type_info* y) const