diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-05-08T10·28+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-05-08T10·28+0000 |
commit | 426593162ee4b22443dfca428083047ca1e39ac7 (patch) | |
tree | d71ac2baad00db9c87a5fa0d21d5c9b7547e2e26 /src/libexpr/nixexpr.hh | |
parent | 77557a6f06500e0a464f54c7b4b4f5162d0359bc (diff) |
* ATermMap needs an assignment operator, otherwise we are screwed.
Diffstat (limited to 'src/libexpr/nixexpr.hh')
-rw-r--r-- | src/libexpr/nixexpr.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh index b7decaa3d953..fa3815216f36 100644 --- a/src/libexpr/nixexpr.hh +++ b/src/libexpr/nixexpr.hh @@ -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); }; |