about summary refs log tree commit diff
path: root/src/libutil/aterm-map.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/aterm-map.hh')
-rw-r--r--src/libutil/aterm-map.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libutil/aterm-map.hh b/src/libutil/aterm-map.hh
index 6d13d7f9e0d1..078617a7d673 100644
--- a/src/libutil/aterm-map.hh
+++ b/src/libutil/aterm-map.hh
@@ -50,6 +50,11 @@ public:
 
     ATerm get(ATerm key) const;
 
+    ATerm operator [](ATerm key) const
+    {
+        return get(key);
+    }
+
     void remove(ATerm key);
 
     unsigned int size();