forked from boostorg/beast
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 parent
8414dbf73b
commit
13b9d1bd92
3 files changed
+8
-2
No files matched your search
@@ -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