aboutsummaryrefslogtreecommitdiff
path: root/build2/depdb.ixx
blob: 46fdb2860f6ab24f2a9dec170f75d9921809e451 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// file      : build2/depdb.ixx -*- C++ -*-
// copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

namespace build2
{
  inline depdb_base::
  ~depdb_base ()
  {
    if (state_ != state::write)
      is_.~ifdstream ();
    else
      os_.~ofdstream ();
  }

#ifndef BUILD2_MTIME_CHECK
  inline void depdb::
  verify (const path_type&, timestamp)
  {
  }

  inline void depdb::
  verify (timestamp, const path_type&, const path_type&, timestamp)
  {
  }
#endif
}