From e954b7478c8ce03be2f6f9a1dcc646ac76a7f842 Mon Sep 17 00:00:00 2001 From: Arkadiusz Szczepkowicz Date: Tue, 19 Mar 2024 16:03:30 +0100 Subject: [PATCH] #2063: Update void* to std::byte* in HolderUser --- src/vt/objgroup/holder/holder_user.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vt/objgroup/holder/holder_user.h b/src/vt/objgroup/holder/holder_user.h index fd5163c1c0..81f8546064 100644 --- a/src/vt/objgroup/holder/holder_user.h +++ b/src/vt/objgroup/holder/holder_user.h @@ -61,7 +61,7 @@ struct HolderUser final : HolderObjBase { public: ObjT* get() override { return *obj_; } bool exists() override { return obj_ != nullptr; } - void* getPtr() override { return *obj_; } + std::byte* getPtr() override { return reinterpret_cast(*obj_); } template void reset(Args&&... args) {