richelbilderbeek / djog_unos_2018

Project by the Uno's at DJOG 2018-2019: Nature Zen
GNU General Public License v3.0
6 stars 2 forks source link

Clean up 'sfml_shop_overlay::exec' #561

Closed richelbilderbeek closed 5 years ago

richelbilderbeek commented 5 years ago

Is your feature request related to a problem? Please describe.

Currently, sfml_shop_overlay::exec has:

void sfml_shop_overlay::exec()
{
  //...
    switch (event.type) //!OCLINT too few branches, please fix
    {
      //Many branches 

The OCLint tag appears to be a remnant of the past: there are pleny of branches.

Describe the solution you'd like

Remove the OCLint tags.

All tests should keep working.

Describe alternatives you've considered

None.

Additional context

None.