← Back to team overview

widelands-dev team mailing list archive

Widelands::OPtr

 

I run into this compilation error:

 error: 'struct Widelands::OPtr<Widelands::PortDock>' has no member named
'get_dock_position'
        destination_.get_dock_position().x,

I am sure that Widelands::PortDock has such member function, so how can I
"switch" from Widelands::OPtr<Widelands::PortDock> to Widelands::PortDock?

Tibor

Follow ups