diff options
Diffstat (limited to 'src/protocol.h')
-rw-r--r-- | src/protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol.h b/src/protocol.h index e518d11944..b8deacb5f4 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -349,7 +349,7 @@ public: uint64_t nServicesInt = nServices; READWRITE(nServicesInt); nServices = static_cast<ServiceFlags>(nServicesInt); - READWRITE(*static_cast<CService*>(this)); + READWRITEAS(CService, *this); } // TODO: make private (improves encapsulation) |