aboutsummaryrefslogtreecommitdiff
path: root/odb/session.ixx
blob: 573deb238b8447821c270e7e9af12d7db3762555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// file      : odb/session.ixx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2009-2011 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_);
  }
}