Skip to content

Commit 1709f98

Browse files
committed
[browsable] fix in const casting for RShared
1 parent d572b92 commit 1709f98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gui/browsable/inc/ROOT/Browsable/RShared.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ template<class T>
2626
class RShared : public RHolder {
2727
std::shared_ptr<T> fShared; ///<! holder without IO
2828
protected:
29-
void *GetShared() const final { return &fShared; }
29+
void *GetShared() const final { return (void *) &fShared; }
3030
RHolder* DoCopy() const final { return new RShared<T>(fShared); }
3131
public:
3232
RShared(T *obj) { fShared.reset(obj); }

0 commit comments

Comments
 (0)