REQUIRES(!(CJobPool *)pUser->m_Lock)
is not possible
struct a {
some_regex m_b;
a () {
b = some_regex_init(...);
}
~a() {
clean_some_regex(b);
}
};
int function () {
a MyVar;
...
if(...)
return;
[..]
if(...)
return;
else
return;
}
all returns garantuee that destructor of MyVar is called8010388
Use std::vector<char *> instead of array in config_store - Robyt3
0f097a0
Use std::vector<char *> instead of array in gamecontext - Robyt3
d3eb9d6
Use std::vector<std::string> instead of array - Robyt3
24ad383
Use std::vector<CSourceQueueEntry> instead of array - Robyt3
ce54a0d
Use std::vector<CMenuImage> instead of array - Robyt3
4a02334
Use std::vector<CName> instead of array, adjust variable name - Robyt3
c6e195a
Use std::vector<CNameBan> instead of array - Robyt3
3f8fb73
Use std::vector<CKey> instead of array - Robyt3
0c69495
Use std::vector instead of array in editor - Robyt3
ca309d6
Remove base/tl/array.h - Robyt3
47098da
Remove base/tl/algorithm.h - Robyt3
f9d49bd
Remove base/tl/allocator.h - Robyt3
a246560
Remove base/tl/range.h - Robyt3
6a72c5c
Fix clang-analyzer-cplusplus.NewDelete (Use of memory after it is freed) - Robyt3
c609314
Use std::any_of instead of for-each loops - Robyt3
ccf0622
Merge #5252 - bors[bot]struct a {
some_regex m_b;
a () {
b = some_regex_init(...);
}
~a() {
clean_some_regex(b);
}
};
int function () {
a MyVar;
...
if(...)
return;
[..]
if(...)
return;
else
return;
}
all returns garantuee that destructor of MyVar is calledmkdir san && cd san && CC=clang CXX=clang++ CXXFLAGS="-fsanitize=address,undefined -fsanitize-recover=address,undefined -fno-omit-frame-pointer" CFLAGS="-fsanitize=address,undefined -fsanitize-recover=address,undefined -fno-omit-frame-pointer" cmake -DCMAKE_BUILD_TYPE=Debug ..
UBSAN_OPTIONS=suppressions=../ubsan.supp
ON
by default", it is still ON
after update to the current master
. (edited)Collision()
getter to server CEntity to make it easier to sync the server and prediction implementations (e.g. IsGrounded()
imps are now identical).
echo broadcast hello > server.fifo
mkfifo server.fifo
nohup ./DDNet-Server "sv_input_fifo server.fifo" &
echo "command" > server.fifo
a5f4c66
vmath: Make vector2_base() constructors constexpr - Kaffeine
a023671
prediction/entity: Sync constructor signature, add GetProximityRadius() - Kaffeine
f934882
server/entity: Add CCollision() getter - Kaffeine
f057dd3
server/character: Use CEntity::Collision() instead of GameServer() one - Kaffeine
deb2e87
Sync prediction impl with server CCharacter::IsGrounded() - Kaffeine
a39bbc7
Introduce and use constexpr CCharacterCore::PhysicalSize - Kaffeine
9e6ee21
Merge #5269 - bors[bot]COMMAND=$@
printf "$EC_PASSWORD\n$COMMAND\n" | nc $EC_CONNADDR $EC_PORT -q 1