aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/oid_lookup/oids.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/asn1/oid_lookup/oids.cpp')
-rw-r--r--src/lib/asn1/oid_lookup/oids.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/asn1/oid_lookup/oids.cpp b/src/lib/asn1/oid_lookup/oids.cpp
index 8ce0ec644..0d1ab58ff 100644
--- a/src/lib/asn1/oid_lookup/oids.cpp
+++ b/src/lib/asn1/oid_lookup/oids.cpp
@@ -109,12 +109,12 @@ void OID_Map::read_cfg(std::istream& cfg, const std::string& source)
std::getline(cfg, s);
++line;
- if(s == "" || s[0] == '#')
+ if(s.empty() || s[0] == '#')
continue;
s = clean_ws(s.substr(0, s.find('#')));
- if(s == "")
+ if(s.empty())
continue;
auto eq = s.find("=");