aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule-map.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/rule-map.hxx')
-rw-r--r--libbuild2/rule-map.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/rule-map.hxx b/libbuild2/rule-map.hxx
index 2b9a145..df59548 100644
--- a/libbuild2/rule-map.hxx
+++ b/libbuild2/rule-map.hxx
@@ -64,12 +64,13 @@ namespace build2
// allocation for the common cases since most rules will be registered
// for perform, at least on non-root scopes.
//
+ // Note: duplicate insertions (e.g., to global scope rule map) are ignored.
+ //
// @@ Redo using small_vector?
//
class rule_map
{
public:
-
template <typename T>
void
insert (action_id a, const char* hint, const rule& r)