Skip to content

Commit

Permalink
Merge pull request #5 from RicardoMDomingues/fix-compilation-issue-li…
Browse files Browse the repository at this point in the history
…bc++

Change copy contructor of endpoint to const &
  • Loading branch information
Sil3ntStorm authored Dec 28, 2022
2 parents b23c77b + 7b1d0f6 commit 114584e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websocketpp/endpoint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class endpoint : public config::transport_type, public config::endpoint_base {

#ifdef _WEBSOCKETPP_DEFAULT_DELETE_FUNCTIONS_
// no copy constructor because endpoints are not copyable
endpoint(endpoint &) = delete;
endpoint(endpoint const &) = delete;

// no copy assignment operator because endpoints are not copyable
endpoint & operator=(endpoint const &) = delete;
Expand Down

0 comments on commit 114584e

Please sign in to comment.