The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: captain crunch on November 10, 2021, 10:29:42 AM

Title: [r10226] no match for 'operator+'
Post by: captain crunch on November 10, 2021, 10:29:42 AM
Just for your attention:
$ make
Revision is 10226M
===> HOSTCXX gui/pakinstaller.cc
gui/pakinstaller.cc: In member function 'virtual bool pakinstaller_t::action_triggered(gui_action_creator_t*, value_t)':
gui/pakinstaller.cc:74:77: error: no match for 'operator+' (operand types are 'uint32' {aka 'unsigned int'} and 'vector_tpl<int>')
   74 | ("Install paks", paks.get_selections().get_count()+ obsolete_paks.get_selections(), true, false);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                 |                               |
      |                                                 uint32 {aka unsigned int}       vector_tpl<int>

Title: Re: [r10226] no match for 'operator+'
Post by: prissi on November 10, 2021, 11:10:49 AM
Thanks, apparently I deleted a get_count() while closing MSVC. Fixed in r10227