We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2322413 commit c8545c5Copy full SHA for c8545c5
libs/network/src/uri/schemes.cpp
@@ -17,7 +17,7 @@ void hierarchical_schemes::register_(const std::string &scheme) {
17
}
18
19
bool hierarchical_schemes::exists(const std::string &scheme) {
20
- schemes_.end() != schemes_.find(scheme);
+ return schemes_.end() != schemes_.find(scheme);
21
22
23
boost::unordered_set<std::string> non_hierarchical_schemes::schemes_;
@@ -27,7 +27,7 @@ void non_hierarchical_schemes::register_(const std::string &scheme) {
27
28
29
bool non_hierarchical_schemes::exists(const std::string &scheme) {
30
31
32
33
namespace {
0 commit comments