Commit 29042f1c authored by Richard Wolfert's avatar Richard Wolfert

priority_spec::valid(): remove const qualifier from return value

gcc generates warning:
* type qualifiers ignored on function return type [-Wignored-qualifiers]
parent d08c4395
......@@ -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