Skip to content

Commit a5ef598

Browse files
committed
Fix move constructor
1 parent 9411cdd commit a5ef598

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/CachingApp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ struct CachingApp : public uWS::TemplatedApp<false, CachingApp> {
5555
using uWS::TemplatedApp<false, CachingApp>::get;
5656

5757
CachingApp(const CachingApp &other) = delete;
58-
CachingApp(CachingApp &&/*other*/) {
59-
58+
CachingApp(CachingApp &&other) : uWS::TemplatedApp<false, CachingApp>(std::move(other)) {
59+
// also move the cache
6060
}
6161

6262
~CachingApp() {

0 commit comments

Comments
 (0)