diff options
| author | Morten Sørvig <morten.sorvig@qt.io> | 2025-03-07 10:27:04 +0100 |
|---|---|---|
| committer | Lorn Potter <lorn.potter@qt.io> | 2025-03-12 02:01:13 +1000 |
| commit | 57f98a095e55faec178f454a1bc3fd5193c854e7 (patch) | |
| tree | 7a4f88f5656d8d56ac76c1bb64c79ffcbee588d1 /src/gui/opengl/qopenglprogrambinarycache.cpp | |
| parent | dc033758a30db71631b61737010273a36e8fcaa3 (diff) | |
wasm: implement move for QWasmEventHandler
Implement move by copying the emscripten::val member
variables, and clearing the moved-from ones. This ensures
that the moved-from val is in a known state ("undefined").
Also move the non-default constructor declaration up to
the top of the class.
Change-Id: If9574cc91a53d4029d49b29b89819d98319acaa3
Reviewed-by: Even Oscar Andersen <even.oscar.andersen@qt.io>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/gui/opengl/qopenglprogrambinarycache.cpp')
0 files changed, 0 insertions, 0 deletions
