More readme edits for PathView example
mattfelsen opened this issue · 1 comments
mattfelsen commented
A couple things that I got a bit hung up on yesterday..
- add
typedef std::shared_ptr<class PathView> PathViewRef
to header - add
bluecadet::views
namespace to PathView (not sure if this is necessary, but I couldn't compile with my own subviews without this)
benjaminbojko commented
Fixed it in 70f895e. I didn't have to add the namespace myself, but updated the PathView to actually work (it was missing some includes and a semicolon. Also added the typedef.