diff options
Diffstat (limited to 'libbuild2')
-rw-r--r-- | libbuild2/target-key.hxx | 8 | ||||
-rw-r--r-- | libbuild2/target.hxx | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/libbuild2/target-key.hxx b/libbuild2/target-key.hxx index 2cc58f9..f5351b8 100644 --- a/libbuild2/target-key.hxx +++ b/libbuild2/target-key.hxx @@ -21,10 +21,10 @@ namespace build2 class LIBBUILD2_SYMEXPORT target_key { public: - const target_type* const type; - 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 target_type* type; + const dir_path* dir; // Can be relative if part of prerequisite_key. + const dir_path* out; // Can be relative if part of prerequisite_key. + const string* name; mutable optional<string> ext; // Absent - unspecified, empty - none. template <typename T> diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx index 10abf16..56b10c0 100644 --- a/libbuild2/target.hxx +++ b/libbuild2/target.hxx @@ -1940,10 +1940,10 @@ namespace build2 string&, optional<string>&, const location&, bool); - const char* + LIBBUILD2_SYMEXPORT const char* target_extension_none (const target_key&, const scope*); - const char* + LIBBUILD2_SYMEXPORT const char* target_extension_must (const target_key&, const scope*); // Get the extension from the `extension` variable or use the default if |