This is an automated email from the ASF dual-hosted git repository.

onichols pushed a commit to branch release/1.10.0
in repository https://gitbox.apache.org/repos/asf/geode-native.git


The following commit(s) were added to refs/heads/release/1.10.0 by this push:
     new 0668f6b  GEODE-7182: fix a warning in TcpSslConn.cpp that prevents 
successful compilation on gcc 8.3 (#515)
0668f6b is described below

commit 0668f6b7272adf153a95e74bb5c307b530668e97
Author: Owen Nichols <34043438+onichols-pivo...@users.noreply.github.com>
AuthorDate: Tue Sep 10 16:23:27 2019 -0700

    GEODE-7182: fix a warning in TcpSslConn.cpp that prevents successful 
compilation on gcc 8.3 (#515)
    
    
    (cherry picked from commit 9b1c5ab31558c9d0ead6927398cb608521a5c20d)
---
 cppcache/src/TcpSslConn.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ void TcpSslConn::createSocket(ACE_HANDLE sock) {
   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());
   }
 }

Reply via email to