mirror of
https://github.com/boostorg/beast.git
synced 2025-08-04 07:14:32 +02:00
built-in r-value return values can't be assigned:
This fixes the following warning: warning: ‘const’ type qualifier on return type has no effect [-Wignored-qualifiers]
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
Version 149:
|
||||
|
||||
* built-in r-value return values can't be assigned
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Version 148:
|
||||
|
||||
* Install codecov on codecov CI targets only
|
||||
|
@@ -102,7 +102,7 @@ public:
|
||||
value_type& operator=(value_type const&) = delete;
|
||||
|
||||
/// Returns the field enum, which can be @ref field::unknown
|
||||
field const
|
||||
field
|
||||
name() const;
|
||||
|
||||
/// Returns the field name as a string
|
||||
|
@@ -291,7 +291,7 @@ value_type(field name,
|
||||
|
||||
template<class Allocator>
|
||||
inline
|
||||
field const
|
||||
field
|
||||
basic_fields<Allocator>::
|
||||
value_type::
|
||||
name() const
|
||||
|
Reference in New Issue
Block a user