Prevent basic_fields operator[] assignment

fix #258
This commit is contained in:
Vinnie Falco
2017-05-07 13:39:41 -07:00
parent c2b32dc740
commit 5596e97656
5 changed files with 41 additions and 40 deletions
+1 -1
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.
+1 -1
View File
@@ -192,7 +192,7 @@ find(boost::string_ref const& name) const ->
}
template<class Allocator>
boost::string_ref
boost::string_ref const
basic_fields<Allocator>::
operator[](boost::string_ref const& name) const
{