Fix scalar initialization of shared_ptr<>.

This commit is contained in:
Robin Gareus 2018-10-18 04:15:47 +02:00
parent 2de7ee24a8
commit 897258f5f1
2 changed files with 6 additions and 6 deletions

View file

@ -1064,7 +1064,7 @@ LaunchControlXL::switch_bank (uint32_t base)
boost::shared_ptr<SelectButton> sr = boost::dynamic_pointer_cast<SelectButton>(id_controller_button_map[SelectRight]);
boost::shared_ptr<Stripable> s[8];
boost::shared_ptr<Stripable> next_base = 0;
boost::shared_ptr<Stripable> next_base;
uint32_t stripable_counter = get_amount_of_tracks();
uint32_t skip = base;
uint32_t n = 0;