aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-12-07 18:05:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-12-07 18:05:23 +0200
commite55ab94a6fa652c71cdb119dc1b269c836672930 (patch)
tree714f2a9d6a72164812bb88251bf2df576e355295
parent60aeb91521e777d17b685824551680294e0317bf (diff)
Fix incorrect process_path::effect access
-rw-r--r--libbuild2/cc/common.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/common.txx b/libbuild2/cc/common.txx
index f55072c..b21bbb1 100644
--- a/libbuild2/cc/common.txx
+++ b/libbuild2/cc/common.txx
@@ -21,7 +21,7 @@ namespace build2
{
auto p (ctx.targets.insert_locked (T::static_type,
move (dir),
- path_cast<dir_path> (out.effect),
+ dir_path (out.effect_string ()),
name,
move (ext),
target_decl::implied,