Merge pull request #1411 from richard78917/fix_warning

priority_spec::valid(): remove const qualifier from return value
This commit is contained in:
Tatsuhiro Tsujikawa 2019-10-29 21:24:34 +09:00 committed by GitHub
commit 6f28a69b7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ const nghttp2_priority_spec *priority_spec::get() const {
return &spec_;
}
const bool priority_spec::valid() const { return valid_; }
bool priority_spec::valid() const { return valid_; }
} // namespace client
} // namespace asio_http2

View File

@ -133,7 +133,7 @@ public:
// Indicates whether or not this spec is valid (i.e. was constructed with
// values).
const bool valid() const;
bool valid() const;
private:
nghttp2_priority_spec spec_;