aboutsummaryrefslogtreecommitdiff
path: root/build2/config/utility.txx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/config/utility.txx')
-rw-r--r--build2/config/utility.txx16
1 files changed, 0 insertions, 16 deletions
diff --git a/build2/config/utility.txx b/build2/config/utility.txx
index fd32599..d3c57a5 100644
--- a/build2/config/utility.txx
+++ b/build2/config/utility.txx
@@ -25,21 +25,5 @@ namespace build2
return result (root.assign (var) = def_value, true);
}
-
- template <typename T>
- bool
- find_option (const char* option, T& s, const char* var)
- {
- if (auto l = s[var])
- {
- for (const string& s: as<strings> (*l))
- {
- if (s == option)
- return true;
- }
- }
-
- return false;
- }
}
}