Browse Source
General: Make use of std::nullopt where applicable
General: Make use of std::nullopt where applicable
Allows some implementations to avoid completely zeroing out the internal buffer of the optional, and instead only set the validity byte within the structure. This also makes it consistent how we return empty optionals.nce_cpp
17 changed files with 60 additions and 59 deletions
-
6src/core/arm/dynarmic/arm_dynarmic_cp15.cpp
-
10src/core/file_sys/content_archive.cpp
-
7src/core/file_sys/vfs.cpp
-
7src/core/file_sys/vfs_offset.cpp
-
8src/core/file_sys/vfs_static.h
-
4src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
-
2src/core/hle/service/nvdrv/nvdrv.h
-
6src/core/hle/service/nvflinger/nvflinger.cpp
-
2src/core/hle/service/sockets/bsd.cpp
-
6src/core/loader/nso.cpp
-
2src/video_core/engines/maxwell_3d.cpp
-
2src/video_core/macro/macro.cpp
-
6src/video_core/memory_manager.cpp
-
12src/video_core/renderer_opengl/gl_shader_decompiler.cpp
-
25src/video_core/shader/ast.h
-
4src/video_core/shader/track.cpp
-
10src/video_core/texture_cache/surface_base.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue