JanuszBedkowski / gpu_computing_in_robotics

GNU General Public License v3.0
449 stars 129 forks source link

[fix] Migration from boost 1.55 to 1.56 or later #5

Open YuehChuan opened 5 years ago

YuehChuan commented 5 years ago

I'm not sure wheter it is appropriate to open a pull request, so ticket the workaround here. issue about explicitly converting the optional to bool

issue:

 error: cannot convert ‘boost::optional<boost::property_tree::basic_ptree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&>’ to ‘bool’ in return
   return opt_loc_pt_;

the fix: https://github.com/YuehChuan/gpu_computing_in_robotics/blob/master/tutorial/lesson_16/src/data_model.cpp#L176

ref: https://stackoverflow.com/questions/38648826/boostoptional-returning-a-bool-value-doesnt-always-work

JanuszBedkowski commented 5 years ago

Thatx we are wirking on it janusz

Wysłane z iPhone'a

Wiadomość napisana przez YuehChuan notifications@github.com w dniu 17.05.2019, o godz. 16:57:

I'm not sure wheter it is appropriate to open a pull request, so ticket the workaround here. issue about explicitly converting the optional to bool

issue:

error: cannot convert ‘boost::optional<boost::property_tree::basic_ptree<std::__cxx11::basic_string, std::__cxx11::basic_string >&>’ to ‘bool’ in return return opt_locpt; the fix: https://github.com/YuehChuan/gpu_computing_in_robotics/blob/master/tutorial/lesson_16/src/data_model.cpp#L176

ref: https://stackoverflow.com/questions/38648826/boostoptional-returning-a-bool-value-doesnt-always-work

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.