summaryrefslogtreecommitdiffstats
path: root/tests/manual/wasm
diff options
context:
space:
mode:
authorMorten Sørvig <[email protected]>2025-07-08 15:41:22 +0200
committerMorten Sørvig <[email protected]>2025-07-16 15:54:22 +0200
commit57c4e640300f857946df3fcba75ee5648342f8d6 (patch)
tree53699bdc21ea4e2d69f1c13ea56a308e4520379d /tests/manual/wasm
parente61a3f8e870bc91fb5e1107f8a608582a93d952e (diff)
Compile after API change
The API changed from using int to std::chrono::milliseconds, update test. Pick-to: 6.10 Change-Id: I4bd4079e5b262859bae293909008cacc824248ac Reviewed-by: Lorn Potter <[email protected]> Reviewed-by: Morten Johan Sørvig <[email protected]>
Diffstat (limited to 'tests/manual/wasm')
-rw-r--r--tests/manual/wasm/eventloop/suspendresumecontrol_auto/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/wasm/eventloop/suspendresumecontrol_auto/main.cpp b/tests/manual/wasm/eventloop/suspendresumecontrol_auto/main.cpp
index 59f1f00cc59..1fd6e0a0c4f 100644
--- a/tests/manual/wasm/eventloop/suspendresumecontrol_auto/main.cpp
+++ b/tests/manual/wasm/eventloop/suspendresumecontrol_auto/main.cpp
@@ -7,7 +7,7 @@
using namespace emscripten;
-const int timerTimeout = 10;
+const std::chrono::milliseconds timerTimeout{10};
// Test QWasmSuspendResumeControl suspend/resume and event processing,
// via QWasmTimer native timer events.