OK, I found that right syntax is destination_.get(egbase)->get_dock_position().x
2016-03-16 10:28 GMT+01:00 Tibor Bamhor <[email protected]>: > 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 >
_______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp

