Chris Thrasher
|
58a3abd433
|
Fix bug conflating array element count with array size in bytes
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
5f9c9fc4f8
|
Always use typename with templates
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
3fa47911f9
|
Remove unnecessary reinterpret_cast
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
6bb541d741
|
Don't unnecessarily copy vector in code sample
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
e762c4b14e
|
Add tests for sf::VideoMode::getDesktopMode
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
b112409e67
|
Use std::array::fill
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
0c3a64f437
|
Use std::bitset
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
20d57becf4
|
More constexpr
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
2bf0b16ca3
|
Remove redundant variable assignment
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
7178802cdf
|
Remove redundant variable expansion
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
0747949843
|
Implicitly define default constructor
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
b38d213d37
|
Remove unnecessary heap allocations
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
3835fc8530
|
Remove intermediate variable
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
d1bd2f242d
|
Restore try_emplace usage
Accidentally removed in fa28722
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
bf3e151d0c
|
Remove redundant initializer
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
533992b6f3
|
Use custom std::unique_ptr deleter to more safely handle owning pointer
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
efa989aa19
|
Reduce the scope of variables
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
f2f072333c
|
Fix formatting inconsistency
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
2fc0bfb3f3
|
Use std::array to define thread count
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
c39b670567
|
Add missing parameter documentation
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
73b2a37733
|
Remove unnecessary functional declaration from header
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
73d30cf458
|
Use namespace std:: in docs
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
c73fad46c0
|
Use pre-increment
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
e12e8e73d4
|
Fix test section names
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
0455e581a6
|
Simplify determining difference type
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
619e532fc2
|
Simplify initialization of vector
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
ada2393890
|
Don't repeat type name in return statement
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
5de8ceaab8
|
Use aggregate initialization
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
d360febbc0
|
Remove unnecessary namespace
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
43d131be7d
|
Remove unnecessary -D prefix
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
8a28b78928
|
Assert correct volume values
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
166ff2d705
|
Simplify setting initial size of vectors
|
2025-01-26 15:51:12 -07:00 |
|
Chris Thrasher
|
e66cc278b9
|
Use in-class member initializers
|
2025-01-26 15:51:11 -07:00 |
|
Chris Thrasher
|
b39e2ce0b5
|
Remove unnecessary intermediate variable
|
2025-01-26 15:51:11 -07:00 |
|
Chris Thrasher
|
c7c903c665
|
Use more CTAD
|
2025-01-26 15:51:11 -07:00 |
|
Chris Thrasher
|
a2ac0144ed
|
Remove comments explaining why headers were included
|
2025-01-26 15:51:11 -07:00 |
|
Chris Thrasher
|
c973a9b9ac
|
Remove redundant bounds checks
|
2025-01-26 15:51:11 -07:00 |
|
Chris Thrasher
|
d663dd1cc9
|
Reduce string allocations
|
2025-01-26 15:51:11 -07:00 |
|
Chris Thrasher
|
277a311966
|
Remove unnecessary argument
|
2025-01-26 15:51:11 -07:00 |
|
Chris Thrasher
|
3d4a5f9399
|
Remove pointer indirection
We don't need to heap allocate the context or use the pimpl idiom
here.
|
2025-01-26 15:51:11 -07:00 |
|
Chris Thrasher
|
1a06f6c395
|
Consolidate target_include_directories calls
|
2025-01-26 15:51:11 -07:00 |
|
Chris Thrasher
|
80d277cca3
|
Simplify how CLOCK_BOOTTIME is checked on Android
|
2025-01-26 15:51:11 -07:00 |
|
Chris Thrasher
|
c11391ae31
|
Simplify include directories
|
2025-01-26 15:51:11 -07:00 |
|
Chris Thrasher
|
020d515a09
|
Remove manual disabling of -Wuseless-cast
This warning is not being used so we don't need pragmas to work
around it.
|
2025-01-26 15:51:04 -07:00 |
|
kimci86
|
37c87ee11e
|
Test Event::visit with move-only visitor
|
2025-01-25 13:10:56 -07:00 |
|
kimci86
|
c6df55eed8
|
Revert "Transform Event::visit signature to accept multiple handlers"
This reverts commit d64a222c869164933e1e53c4b58d73fc1db04eb3.
|
2025-01-25 13:10:56 -07:00 |
|
Pixel-Tony
|
d64a222c86
|
Transform Event::visit signature to accept multiple handlers
|
2025-01-24 09:39:52 -07:00 |
|
vittorioromeo
|
18393ea5cb
|
Add non-const overload of Event::visit
|
2025-01-22 18:03:00 +01:00 |
|
Chris Thrasher
|
0e37e6dfee
|
Use std::queue to model queues
|
2025-01-20 18:11:22 -07:00 |
|
Chris Thrasher
|
08bfae34e7
|
Fix build errors when compiling in C++20 mode
C++20 removes the ability to stream char32_t characters.
This is the error I get when setting CMAKE_CXX_STANDARD
to 20.
/Users/thrasher/Projects/sfml/test/System/String.test.cpp:32:52: error: overload resolution selected deleted operator '<<'
32 | stream << "[\\x" << std::uppercase << std::hex << character << ']';
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/c++/v1/ostream:1009:31: note: candidate function [with _Traits = std::char_traits<char>] has been explicitly deleted
1009 | basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, char32_t) = delete;
| ^
|
2025-01-20 11:27:43 +00:00 |
|