aboutsummaryrefslogtreecommitdiff
path: root/build2/target
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-06-18 12:09:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-06-18 12:09:08 +0200
commit8d6c00d45d7815240d6e3a46128737e03ca73c50 (patch)
tree4fbf395cf4736293acfeb1ed92a6eee4a34fccbb /build2/target
parent774bfb559ecaef2aac1dcb7a0414bc6895a9b9d5 (diff)
Cosmetic changes
Diffstat (limited to 'build2/target')
-rw-r--r--build2/target10
1 files changed, 5 insertions, 5 deletions
diff --git a/build2/target b/build2/target
index be0eff9..8d2a22d 100644
--- a/build2/target
+++ b/build2/target
@@ -513,8 +513,8 @@ namespace build2
operator!= (const iterator& x, const iterator& y) {return !(x == y);}
private:
- target* t_ {nullptr};
- prerequisites_type* c_ {nullptr};
+ target* t_ = nullptr;
+ prerequisites_type* c_ = nullptr;
base_iterator i_;
};
@@ -908,12 +908,12 @@ namespace build2
return t->mtime_;
}
+ // Note that while we can cache the mtime at any time, it may be ignored
+ // if the target state is group (see the mtime() accessor).
+ //
void
mtime (timestamp mt)
{
- // While we can cache the mtime at any time, it may be ignored
- // if the target state is group (see the mtime() accessor).
- //
mtime_ = mt;
}