Jump to content

cleanup #includes


Guest balrok

Recommended Posts

what does this fix?

in this branch i removed doubled and unneeded includes from the files

bugreports: no - it wasn't a bug

author: balrok

i did those things by some (nonintelligent) text-grepping helper-scripts but had to change many things by hand to..

i think the only thing which needs to be tested is, if it compiles - and under gcc it still works.. (so i haven't tested it ingame or could test it with other compilers)

it would be great to have an intelligent script for this (best would be if this script will be provided by gcc itself :) )

branch can be found here: http://github.com/balrok/mangos/commits/cleanup_includes

i don't know if this will have realy use - taking the time from with-patch and without-patch haven't shown big differences :-/ (my first intention with this patch)

Link to comment
Share on other sites

  • 3 weeks later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use