Skip to content
Snippets Groups Projects

assert sensor ptr !nullptr when installing processor

Merged Jeremie Deray requested to merge check_sensor_ptr into master

I seen that in the function Problem::installProcessor(const std::string& _prc_type, // const std::string& _unique_processor_name, // const std::string& _corresponding_sensor_name, // const std::string& _params_filename) the function throws if the sensor ptr isn't found, wouldn't it be better to simply print an error as in this pr?
I guess an uninstall proc will not generate later problem. @jsola let me know what do you prefer and I will update this PR accordingly.

Edited by Jeremie Deray

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading