aboutsummaryrefslogtreecommitdiff
path: root/odb/session.ixx
blob: b359e956e9fd419b841e74e1e43b8dc4d82d73fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// file      : odb/session.ixx
// copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC
// license   : GNU GPL v2; see accompanying LICENSE file

#include <odb/exceptions.hxx>

namespace odb
{
  template <typename T>
  inline void session::
  erase (const object_position<T>& p)
  {
    // @@ Empty maps are not cleaned up by this version of erase.
    //
    p.map_->erase (p.pos_);
  }
}