Merge pull request #1411 from richard78917/fix_warning
priority_spec::valid(): remove const qualifier from return value
This commit is contained in:
commit
6f28a69b7d
|
@ -154,7 +154,7 @@ const nghttp2_priority_spec *priority_spec::get() const {
|
||||||
return &spec_;
|
return &spec_;
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool priority_spec::valid() const { return valid_; }
|
bool priority_spec::valid() const { return valid_; }
|
||||||
|
|
||||||
} // namespace client
|
} // namespace client
|
||||||
} // namespace asio_http2
|
} // namespace asio_http2
|
||||||
|
|
|
@ -133,7 +133,7 @@ public:
|
||||||
|
|
||||||
// Indicates whether or not this spec is valid (i.e. was constructed with
|
// Indicates whether or not this spec is valid (i.e. was constructed with
|
||||||
// values).
|
// values).
|
||||||
const bool valid() const;
|
bool valid() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
nghttp2_priority_spec spec_;
|
nghttp2_priority_spec spec_;
|
||||||
|
|
Loading…
Reference in New Issue