aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_heartbeats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls/tls_heartbeats.cpp')
-rw-r--r--src/tls/tls_heartbeats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tls_heartbeats.cpp b/src/tls/tls_heartbeats.cpp
index a77d23534..059772d34 100644
--- a/src/tls/tls_heartbeats.cpp
+++ b/src/tls/tls_heartbeats.cpp
@@ -68,7 +68,7 @@ Heartbeat_Support_Indicator::Heartbeat_Support_Indicator(TLS_Data_Reader& reader
if(code != 1 && code != 2)
throw TLS_Exception(Alert::ILLEGAL_PARAMETER,
- "Unknown heartbeat code " + to_string(code));
+ "Unknown heartbeat code " + std::to_string(code));
m_peer_allowed_to_send = (code == 1);
}