Prevent basic_fields operator[] assignment

fix #258
This commit is contained in:
Vinnie Falco
2017-05-02 12:03:34 -07:00
parent f7a0885d17
commit 1a1a1d508b
5 changed files with 41 additions and 40 deletions

View File

@@ -216,7 +216,7 @@ public:
If more than one field with the specified name exists, the
first field defined by insertion order is returned.
*/
boost::string_ref
boost::string_ref const
operator[](boost::string_ref const& name) const;
/// Clear the contents of the basic_fields.