File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616- Use UTC-aware time conversion (` timegm ` /` _mkgmtime ` ) instead of local time (` mktime ` ) for ISO 8601 timestamp parsing
1717- Replace ` std::format ` with chrono formatters with ` strftime ` for GCC 14 compatibility in ` timestamp_to_string `
1818- Fix ` std::string_view ` to ` std::string ` conversion in ` logData ` for ` fstream::open ` compatibility
19+ - Fix linker error by making ` empty_msg ` static member variable ` inline constexpr `
1920
2021### Removed
2122- Unused ` reconnectMarketData ` and ` reconnectUserData ` methods from WebSocket class
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ class WebSocketClient {
254254 std::atomic_int_fast8_t pending_md_socket_close_ = 0 ;
255255 std::atomic_int_fast8_t pending_user_socket_close_ = 0 ;
256256 uint64_t data_cursor_ = 0 ;
257- static const char empty_msg = ' \0 ' ;
257+ static inline constexpr char empty_msg = ' \0 ' ;
258258};
259259
260260constexpr uint32_t MESSAGE_HEADER_SIZE = sizeof (WebSocketClient*) + 1 ;
You can’t perform that action at this time.
0 commit comments