diff options
Diffstat (limited to 'build2/target-key')
-rw-r--r-- | build2/target-key | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/build2/target-key b/build2/target-key index 7905f8a..0eae11f 100644 --- a/build2/target-key +++ b/build2/target-key @@ -26,9 +26,7 @@ namespace build2 const dir_path* const dir; // Can be relative if part of prerequisite_key. const dir_path* const out; // Can be relative if part of prerequisite_key. const string* const name; - const optional<string>& ext; - - static const optional<string> nullext; + mutable optional<string> ext; // Absent - unspecified, empty - none. template <typename T> bool is_a () const {return type->is_a<T> ();} |