summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/IceSSL/Context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/Context.cpp b/cpp/src/IceSSL/Context.cpp
index 37d8b53f995..71dd0d8af97 100644
--- a/cpp/src/IceSSL/Context.cpp
+++ b/cpp/src/IceSSL/Context.cpp
@@ -242,7 +242,7 @@ IceSSL::Context::loadCertificateAuthority(const CertificateAuthority& certAuth)
caFile = fileName.c_str();
}
- if(!certPath.length())
+ if(!certPath.empty())
{
caPath = certPath.c_str();
}