aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/database.ixx
blob: 7e34e013763e9794615c1fa7e93108a2dce34900 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// file      : odb/sqlite/database.ixx
// author    : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
// license   : GNU GPL v2; see accompanying LICENSE file

namespace odb
{
  namespace sqlite
  {
    inline details::shared_ptr<database::connection_type> database::
    connection ()
    {
      return factory_->connect ();
    }
  }
}