diff options
author | Thiago Macieira <[email protected]> | 2022-07-20 09:25:21 -0700 |
---|---|---|
committer | Thiago Macieira <[email protected]> | 2025-06-22 10:43:20 -0700 |
commit | 131da3b171a52fc2ab4d038dae0f783a46d307ea (patch) | |
tree | 42065872532b57fc53d243d27f7458b69136dbb1 /examples/opengl/hellogl2/logo.cpp | |
parent | 17f7938657e2ef919e8d89d28a5bfa610218eb3b (diff) |
We handle the memory allocation ourselves. Using std::nothrow_t{}
instead of std::nothrow to avoid referring to an empty, global variable
unnecessarily just to call this function.
[ChangeLog][QtCore][QMetaType] create() will return a null pointer and
not throw if a memory allocation failure happens. It may still throw if
the constructor of the meta type in question throws.
Change-Id: I3859764fed084846bcb0fffd170396477b2b4989
Reviewed-by: Fabian Kosmale <[email protected]>
Diffstat (limited to 'examples/opengl/hellogl2/logo.cpp')
0 files changed, 0 insertions, 0 deletions