From 54def4ae48c5aeb02e8ac1a5d62b3a24c3d1b2a4 Mon Sep 17 00:00:00 2001 From: Jatin Sharma <91322311+jatin-shrm@users.noreply.github.com> Date: Tue, 5 Aug 2025 10:57:30 +0530 Subject: [PATCH] Update endpoint.hpp C++20 disallows explicitly writing template-ids (e.g. basic<...>()) for constructors and destructors. --- websocketpp/endpoint.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocketpp/endpoint.hpp b/websocketpp/endpoint.hpp index c124b1d9a..e118f0de4 100644 --- a/websocketpp/endpoint.hpp +++ b/websocketpp/endpoint.hpp @@ -109,7 +109,7 @@ class endpoint : public config::transport_type, public config::endpoint_base { /// Destructor - ~endpoint() {} + ~endpoint() {} //for CPP 20 #ifdef _WEBSOCKETPP_DEFAULT_DELETE_FUNCTIONS_ // no copy constructor because endpoints are not copyable