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() {