From adca4bcc4080b572863431110359e0ae8df1784b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Marc=C3=A8=20i=20Igual?= Date: Wed, 8 Nov 2023 23:40:22 +0100 Subject: [PATCH] Update sio_client_impl.cpp Use `std::` when required. Even though there is a `using namespace std` this should be removed and we should add `std::` whenever possible --- src/internal/sio_client_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal/sio_client_impl.cpp b/src/internal/sio_client_impl.cpp index 08371dff..02cceada 100644 --- a/src/internal/sio_client_impl.cpp +++ b/src/internal/sio_client_impl.cpp @@ -563,10 +563,10 @@ namespace sio if (message && message->get_flag() == message::flag_object) { const object_message* obj_ptr = static_cast(message.get()); - const map* values = &(obj_ptr->get_map()); + const std::map* values = &(obj_ptr->get_map()); auto it = values->find("sid"); if (it != values->end()) { - m_sid = static_pointer_cast(it->second)->get_string(); + m_sid = std::static_pointer_cast(it->second)->get_string(); } } }