File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ bool registry::add(std::unique_ptr<backend> ptr) {
73
73
74
74
void registry::setup_options (int argc, char *argv[],
75
75
po::options_description &desc) {
76
- if (backends.empty () || (!( default_backend)) ) {
76
+ if (backends.empty () || ! default_backend) {
77
77
throw std::runtime_error (" No backends available - this is most likely a "
78
78
" compile-time configuration error." );
79
79
}
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ type parse_from(const std::string &name) {
41
41
} else if (name == " text/plain" ) {
42
42
return mime::type::text_plain;
43
43
} else if (name == " text/xml" ) { // alias according to RFC 7303, section 9.2
44
- return mime::type:: application_xml;
44
+ return mime::type::application_xml;
45
45
} else if (name == " application/xml" ) {
46
46
return mime::type::application_xml;
47
47
#if HAVE_YAJL
You can’t perform that action at this time.
0 commit comments