aboutsummaryrefslogtreecommitdiff
path: root/build2/config/utility.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-12 16:10:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-12 16:10:48 +0200
commit4e665067ff264c55086fdfb776a95b0fbb4d432c (patch)
tree2371403561c0a3d754792f68d2515cae71dff565 /build2/config/utility.txx
parent00ed965e4a29f66666d2bf4372d2d6919c29664e (diff)
<types>/<utility> scheme cleanup
Diffstat (limited to 'build2/config/utility.txx')
-rw-r--r--build2/config/utility.txx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/config/utility.txx b/build2/config/utility.txx
index 3fc40c0..fd32599 100644
--- a/build2/config/utility.txx
+++ b/build2/config/utility.txx
@@ -9,10 +9,10 @@ namespace build2
namespace config
{
template <typename T>
- std::pair<std::reference_wrapper<const value>, bool>
+ pair<reference_wrapper<const value>, bool>
required (scope& root, const variable& var, const T& def_value, bool ovr)
{
- using result = std::pair<std::reference_wrapper<const value>, bool>;
+ using result = pair<reference_wrapper<const value>, bool>;
if (auto l = root[var])
{
@@ -32,7 +32,7 @@ namespace build2
{
if (auto l = s[var])
{
- for (const std::string& s: as<strings> (*l))
+ for (const string& s: as<strings> (*l))
{
if (s == option)
return true;