aboutsummaryrefslogtreecommitdiff
path: root/build/target
diff options
context:
space:
mode:
Diffstat (limited to 'build/target')
-rw-r--r--build/target5
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) {}