mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-01 18:27:20 +02:00
Documentation
- Removed "suspicion" comment about the autovivifying of map keys. Credited Dmitriy properly.
This commit is contained in:
parent
2e2521a4cf
commit
b35a2f54bb
3 changed files with 4 additions and 3 deletions
|
@ -1290,8 +1290,6 @@ bool A3::is_attr (Nibbler& n, Arg& arg)
|
|||
// Most attributes are standard, some are pseudo-attributes, such as
|
||||
// 'limit:page', which is not represented by a column object, and
|
||||
// therefore not stored.
|
||||
|
||||
// I suspect this is auto-vivifying context.columns["limit"]. Bugger.
|
||||
std::map<std::string, Column*>::iterator i = context.columns.find (name);
|
||||
if (i != context.columns.end ())
|
||||
arg._type = Arg::type_id (i->second->type ());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue