Skip to content

Commit 3eb08ca

Browse files
committed
Removed include for websocket_plain and websocket_tls .hpp from websocket.hpp.
Signed-off-by: Maaike <maaike@iolar.nl>
1 parent 86b7632 commit 3eb08ca

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

include/ocpp/common/websocket/websocket.hpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55

66
#include <ocpp/common/evse_security.hpp>
77
#include <ocpp/common/ocpp_logging.hpp>
8-
#include <ocpp/common/websocket/websocket_plain.hpp>
9-
#include <ocpp/common/websocket/websocket_tls.hpp>
8+
#include <ocpp/common/websocket/websocket_base.hpp>
109

1110
namespace ocpp {
1211

lib/ocpp/common/websocket/websocket.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
#ifdef LIBOCPP_ENABLE_LIBWEBSOCKETS
99
#include <ocpp/common/websocket/websocket_libwebsockets.hpp>
10+
#else
11+
#include <ocpp/common/websocket/websocket_plain.hpp>
12+
#include <ocpp/common/websocket/websocket_tls.hpp>
1013
#endif
1114

1215
#include <boost/algorithm/string.hpp>

0 commit comments

Comments
 (0)