aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule-map.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-07-10 07:08:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-07-10 07:08:08 +0200
commitfefcedab45d3e35782943faeee49478b5737c424 (patch)
treea484f4c070dd2f70657e92dcfda8907667d839c2 /libbuild2/rule-map.hxx
parentfeed07e16ff73c5f0b25f2ceb4c08177b5c0e3af (diff)
Tweak rule names
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)