PDA

Просмотр полной версии : [12862] Move static data from header file to source file.


newsbot
11.03.2015, 02:11
Автор: evil-at-wow


<pre style='white-space:pre-wrap;width:81ex'>[12862] Move static data from header file to source file.

1. It's only used in the implementation anyway, so treat it as an implementation
detail and don't expose it in the header.
2. It avoids lots of compiler warnings about unused variables in every source
file that directly or indirectly includes the header (and there are lots!).</pre>


Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/7b5fdba0cf7bbd5e13b2968743036343cc7ada57)