commit | 9b1c5ab31558c9d0ead6927398cb608521a5c20d | [log] [tgz] |
---|---|---|
author | Owen Nichols <34043438+onichols-pivotal@users.noreply.github.com> | Tue Sep 10 16:23:27 2019 -0700 |
committer | GitHub <noreply@github.com> | Tue Sep 10 16:23:27 2019 -0700 |
tree | e58424effc71f60e52cbc8f41bf44cf04ea5c0dd | |
parent | 28eef7b74aae1c5bb3b0c152336d07197aa70fac [diff] |
GEODE-7182: fix a warning in TcpSslConn.cpp that prevents successful compilation on gcc 8.3 (#515)
diff --git a/cppcache/src/TcpSslConn.cpp b/cppcache/src/TcpSslConn.cpp index b4b328e..22b59aa 100644 --- a/cppcache/src/TcpSslConn.cpp +++ b/cppcache/src/TcpSslConn.cpp
@@ -57,7 +57,7 @@ LOGDEBUG("Creating SSL socket stream"); try { m_ssl = getSSLImpl(sock, m_pubkeyfile, m_privkeyfile); - } catch (std::exception e) { + } catch (std::exception& e) { throw SslException(e.what()); } }