Skip to content

Commit

Permalink
#2063: Update void* to std::byte* in HolderUser
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable authored and cwschilly committed Sep 20, 2024
1 parent e06f058 commit de8ea8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/objgroup/holder/holder_user.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ struct HolderUser final : HolderObjBase<ObjT> {
public:
ObjT* get() override { return *obj_; }
bool exists() override { return obj_ != nullptr; }
void* getPtr() override { return *obj_; }
std::byte* getPtr() override { return reinterpret_cast<std::byte*>(*obj_); }

template <typename... Args>
void reset(Args&&... args) {
Expand Down

0 comments on commit de8ea8c

Please sign in to comment.