From a5ef59846ae052ae076f955d84d929e0eb7d9c99 Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Mon, 22 Jul 2024 04:15:53 +0200 Subject: [PATCH] Fix move constructor --- src/CachingApp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CachingApp.h b/src/CachingApp.h index 225c398d6..fec5748d3 100644 --- a/src/CachingApp.h +++ b/src/CachingApp.h @@ -55,8 +55,8 @@ struct CachingApp : public uWS::TemplatedApp { using uWS::TemplatedApp::get; CachingApp(const CachingApp &other) = delete; - CachingApp(CachingApp &&/*other*/) { - + CachingApp(CachingApp &&other) : uWS::TemplatedApp(std::move(other)) { + // also move the cache } ~CachingApp() {