diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-27 16:57:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-27 16:57:34 +0200 |
commit | 4372f041bb7401c3adc2d5710566b13f64722102 (patch) | |
tree | 5f37f6e69e5529d3628b7611bb642dba15d885c0 /build/target | |
parent | e1d2e3b63934c1e193429f1d6c4e04abc0e85d56 (diff) |
Variable assignment, appending support
Diffstat (limited to 'build/target')
-rw-r--r-- | build/target | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build/target b/build/target index 881bfb7..0f5de4f 100644 --- a/build/target +++ b/build/target @@ -13,7 +13,7 @@ #include <typeindex> #include <ostream> #include <cassert> -#include <utility> // move +#include <utility> // move() #include <build/path> #include <build/key-set> @@ -49,6 +49,9 @@ namespace build class target { public: + virtual + ~target () = default; + target (path d, std::string n, const std::string* e) : dir (std::move (d)), name (std::move (n)), ext (e) {} |