aboutsummaryrefslogtreecommitdiff
path: root/odb/vector-impl.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-11 16:15:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-11 16:15:26 +0200
commitb2f552f3505c1d8247e1a0ca844fe372ef639f79 (patch)
tree2e46697657144f9b965ffddc04ceba0750294164 /odb/vector-impl.hxx
parentc6bc6ecf14ba7b43350a65df9701b0848c95d0e2 (diff)
Rearrange inline function order to help MinGW2.4.0
On MinGW, if a DLL-exported inline function is called before it is known to be inline, the compiler issues a warning.
Diffstat (limited to 'odb/vector-impl.hxx')
-rw-r--r--odb/vector-impl.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/vector-impl.hxx b/odb/vector-impl.hxx
index 819062d..55b3103 100644
--- a/odb/vector-impl.hxx
+++ b/odb/vector-impl.hxx
@@ -174,10 +174,10 @@ namespace odb
{
public:
void
- _stop () const {impl_.stop ();}
+ _stop () const;
bool
- _tracking () const {return impl_.tracking ();}
+ _tracking () const;
void
_arm (transaction& t) const;
@@ -191,8 +191,8 @@ namespace odb
vector_base& operator= (const vector_base&);
protected:
- vector_base (): tran_ (0) {}
- ~vector_base () {if (tran_ != 0) tran_->callback_unregister (this);}
+ ~vector_base ();
+ vector_base ();
vector_base (const vector_base&);
#ifdef ODB_CXX11