Skip to content

Use boost::optional to simplify VxCreator

Marco Cattaneo requested to merge cherry-pick-22fc3947 into hlt2016-patches
  • instead of keeping a seperate bool to flag the presence of a 'dummy' trivial value, use boost::optional instead, which avoids having to create a 'dummy', and which avoids the corresponding bookkeeping. This fixes the longstanding warning about hiding virtual functions, as the instance which caused the warning isn't instantiated anymore...
  • replace a deprecated std::auto_ptr with std::unique_ptr
  • See merge request !156 (merged)

(cherry picked from commit 22fc3947)

2c54a7d4 Use boost::optional to simplify VxCreator

Merge request reports