voxelcore/src/logic
Vyacheslav Ivanov e9a5f18bc3
fix: optimization: PVS-Studio warning V830
Replaced 'std::optional::value()' with '*' operator to improve performance.

Using 'std::optional::value()' involves additional overhead compared to using the '*' or '->' operators. This change ensures more efficient access to the underlying value of the optional when you are certain that it contains a value.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 02:38:54 +03:00
..
scripting fix: optimization: PVS-Studio warning V831 2024-08-02 02:38:54 +03:00
BlocksController.cpp move class Clock to a separate unit 2024-07-19 20:49:04 +03:00
BlocksController.hpp move class Clock to a separate unit 2024-07-19 20:49:04 +03:00
ChunksController.cpp fix: optimization: PVS-Studio warning V832 2024-08-02 01:57:43 +03:00
ChunksController.hpp Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
CommandsInterpreter.cpp add 'entity.despawn' command 2024-07-17 07:35:02 +03:00
CommandsInterpreter.hpp fix: optimization: PVS-Studio warning V832 2024-08-02 01:57:43 +03:00
EngineController.cpp refactor EngineController.cpp 2024-07-24 17:44:43 +03:00
EngineController.hpp Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
LevelController.cpp add on_update, on_render to docs & change entities tps to 20 2024-08-01 16:04:27 +03:00
LevelController.hpp build time decreased 2024-05-23 02:05:08 +03:00
PlayerController.cpp fix: optimization: PVS-Studio warning V830 2024-08-02 02:38:54 +03:00
PlayerController.hpp fix: optimization: PVS-Studio warning V835 2024-08-02 02:38:54 +03:00