Skip to content

Commit

Permalink
Fix move constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
uNetworkingAB committed Jul 22, 2024
1 parent 9411cdd commit a5ef598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CachingApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ struct CachingApp : public uWS::TemplatedApp<false, CachingApp> {
using uWS::TemplatedApp<false, CachingApp>::get;

CachingApp(const CachingApp &other) = delete;
CachingApp(CachingApp &&/*other*/) {

CachingApp(CachingApp &&other) : uWS::TemplatedApp<false, CachingApp>(std::move(other)) {
// also move the cache
}

~CachingApp() {
Expand Down

0 comments on commit a5ef598

Please sign in to comment.