Minor cleanup in aspiring actor (#2688)
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
This commit is contained in:
@@ -50,7 +50,7 @@ private:
|
||||
std::shared_ptr<Mailbox> mailbox;
|
||||
std::aligned_storage_t<sizeof(Object)> objectStorage;
|
||||
|
||||
Object& object() { return *reinterpret_cast<Object*>(&objectStorage); }
|
||||
Object& object() { return reinterpret_cast<Object&>(objectStorage); }
|
||||
|
||||
friend class EstablishedActor<Object>;
|
||||
friend class Actor<Object>;
|
||||
|
||||
Reference in New Issue
Block a user