mirror of
https://github.com/NixOS/nix
synced 2025-06-26 11:41:15 +02:00
* ATermMap needs an assignment operator, otherwise we are screwed.
This commit is contained in:
parent
77557a6f06
commit
426593162e
2 changed files with 36 additions and 6 deletions
|
@ -29,6 +29,8 @@ public:
|
|||
ATermMap(const ATermMap & map);
|
||||
~ATermMap();
|
||||
|
||||
ATermMap & ATermMap::operator = (const ATermMap & map);
|
||||
|
||||
void set(ATerm key, ATerm value);
|
||||
void set(const string & key, ATerm value);
|
||||
|
||||
|
@ -46,6 +48,9 @@ public:
|
|||
|
||||
private:
|
||||
void add(const ATermMap & map, ATermList & keys);
|
||||
|
||||
void free();
|
||||
void copy(const ATermMap & map);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue