diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/value.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/value.h b/include/value.h index 5076bb4ed5..c029e1ecad 100644 --- a/include/value.h +++ b/include/value.h @@ -115,6 +115,7 @@ public: * @sa tag_compound::operator[] */ value& operator[](const std::string& key); + value& operator[](const char* key); //need this overload because of conflict with built-in operator[] std::unique_ptr<tag>& get_ptr(); const std::unique_ptr<tag>& get_ptr() const; |
