0ad/source
wraitii 92153b0afb Replace SharedStateResult with std::optional
std::optional was not usable when our Future class was introduced, but
it is now, so we can replace SharedStateResult with it, reducing custom
code.

Note that Apple Clang has some incompatibilites with part of the
optional interface, but it isn't used here.

Patch by: phosit
Comments by: vladislavbelov
Accepted by: wraitii
Differential Revision: https://code.wildfiregames.com/D4803
This was SVN commit r27309.
2022-12-28 10:54:41 +00:00
..
collada Forbids using more than 64 bones for GPU skinning. 2021-12-13 19:22:27 +00:00
graphics Adds framebuffer attachment load and store operations. 2022-11-26 21:55:17 +00:00
gui Remove some unnecessary string copy related to substr. 2022-12-04 19:56:12 +00:00
i18n Remove L10n::DictionaryDeleter added in d6ddc4f3ac. 2022-11-04 20:52:28 +00:00
lib Remove some unnecessary string copy related to substr. 2022-12-04 19:56:12 +00:00
lobby Adds std namespace to shared_ptr usages in network and engine. 2021-05-22 19:28:40 +00:00
maths Reduces uniforms sizes for the Canvas2D shader. 2022-10-09 10:44:51 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Fixes without PCH build in StunClient missing include for std::byte added in 895e4e6aa6. 2022-10-26 00:15:27 +00:00
pch Include CStrInternStatic where necessary only. 2021-05-18 11:09:54 +00:00
ps Replace SharedStateResult with std::optional 2022-12-28 10:54:41 +00:00
renderer Reduces shader inputs duplication and wraps them in a macro. Refs #6636 2022-12-10 10:14:35 +00:00
rlinterface Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
scriptinterface Remove some duplicated code from ScriptInterface.cpp 2022-03-28 21:58:22 +00:00
simulation2 Remove some unnecessary string copy related to substr. 2022-12-04 19:56:12 +00:00
soundmanager Moves uniform and texture binding to CDeviceCommandContext. 2022-05-02 20:57:22 +00:00
third_party Optimization for include resolving in PreprocessorWrapper. 2021-01-20 23:05:15 +00:00
tools Fixes big screenshots after 29368cf776 and 3a4c8342a0. 2022-12-04 19:28:34 +00:00
main.cpp Adds PS::span and std::string_view to CmdLineArgs. 2022-10-04 19:08:39 +00:00
test_setup.cpp Implement a global task manager using a pool of worker threads 2021-06-03 14:48:38 +00:00