| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
In bitstream::Extract(), don't call vector::front() on an empty vector.
MSVC was throwing a runtime exception because vector::front() on an empty vector is undefined.
Also add an assertion to protocol_payload.cc to ensure the data_size argument to utils::Extract is valid
|
|
|
|
|
|
|
|
| |
Advancing an STL vector iterator which is equal to end() is undefined.
After erase(), observer_it was not being compared to end() before being incremented.
Make sure the iterator gets compared to end() before incrementing again
MSVC was throwing a runtime exception for this.
|
|
|
|
|
|
|
|
| |
Advancing an STL vector iterator which is equal to end() is undefined.
After erase(), it was not being compared to end() before being incremented.
Make sure the iterator gets compared to end() before incrementing again
MSVC was throwing a runtime exception for this.
|
|
|
|
|
|
| |
Reusing an STL vector iterator (like advancing it) after erasing it doesn't work. Assign itr to the result of erase() instead.
This was causing a segfault on Mac when the phone would disconnect
|
| |
|
|
|
|
|
|
| |
Fix an operator precedence logic error.
/Users/bshanks/dev/sdl3/SDL_Core/src/components/transport_manager/src/transport_adapter/threaded_socket_connection.cc:272:32: warning: & has lower precedence than !=; != will be evaluated first [-Wparentheses]
|
|
|
|
|
| |
Rename src/components/Interfaces, src/components/Utils, and
src/components/Utils/include/Utils to be all lowercase
|
|
|
|
| |
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
|
|
|
|
| |
a better workaround for this on Mac?
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
|
|
| |
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
|
|
| |
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
|
|
| |
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
|
|
|
|
| |
Credit to Brendan Shanks
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
|
|
| |
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
|
|
| |
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
|
|
| |
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
|
|
| |
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
|
|
| |
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
|
|
| |
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
| |
|
|
|
|
|
| |
Incorporated patch for g++ 4.7 and newer compiler.
Commented out two logging lines preventing compilation on 64-bit targets.
|
| |
|
|
|