aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/common.cxx4
-rw-r--r--libbuild2/cc/pkgconfig.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/libbuild2/cc/common.cxx b/libbuild2/cc/common.cxx
index 7492181..d11b216 100644
--- a/libbuild2/cc/common.cxx
+++ b/libbuild2/cc/common.cxx
@@ -899,7 +899,7 @@ namespace build2
if (p.second)
{
- p.first.get () = string ("cc");
+ p.first = string ("cc");
if (sys)
t.vars.assign (c_system) = true;
@@ -951,7 +951,7 @@ namespace build2
strings o;
o.push_back (move (d));
- p.first.get () = move (o);
+ p.first = move (o);
}
}
};
diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx
index 25df3df..48219f2 100644
--- a/libbuild2/cc/pkgconfig.cxx
+++ b/libbuild2/cc/pkgconfig.cxx
@@ -739,7 +739,7 @@ namespace build2
// export stub and we shouldn't touch them.
//
if (p.second)
- p.first.get () = move (pops);
+ p.first = move (pops);
}
};
@@ -1090,7 +1090,7 @@ namespace build2
auto p (t.vars.insert (c_export_loptions));
if (p.second)
- p.first.get () = move (lops);
+ p.first = move (lops);
}
// Set even if empty (export override).
@@ -1099,7 +1099,7 @@ namespace build2
auto p (t.vars.insert (la ? c_export_imp_libs : c_export_libs));
if (p.second)
- p.first.get () = move (libs);
+ p.first = move (libs);
}
};