diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-24 11:25:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-06-24 11:25:05 +0200 |
commit | 2ad6aa134d9e8e755c8c738d0b51d72b0851c212 (patch) | |
tree | 9d914797975e61350d41c9fdb71ee008b2aacdfc /build2/depdb.ixx | |
parent | 85399cf60764b0fe54d44d4a5bacb54feae8dd62 (diff) |
Constrain access to options to build system driver main() only
Diffstat (limited to 'build2/depdb.ixx')
-rw-r--r-- | build2/depdb.ixx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/build2/depdb.ixx b/build2/depdb.ixx index 80a2ea6..cf67434 100644 --- a/build2/depdb.ixx +++ b/build2/depdb.ixx @@ -23,11 +23,7 @@ namespace build2 inline bool depdb:: mtime_check () { - // Note: options were validated in main(). - // - return (ops. mtime_check () ? true : - ops.no_mtime_check () ? false : - BUILD2_MTIME_CHECK); + return mtime_check_option ? *mtime_check_option : BUILD2_MTIME_CHECK; } inline void depdb:: |