Unverified Commit 6f28a69b authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa Committed by GitHub

Merge pull request #1411 from richard78917/fix_warning

priority_spec::valid(): remove const qualifier from return value
parents d08c4395 29042f1c
......@@ -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
......
......@@ -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_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment