PDA

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


newsbot
09.07.2015, 03:11
Автор: evil-at-wow


<pre style='white-space:pre-wrap;width:81ex'>[c13075] 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!).

(based on commit [12862] - 7b5fdba)

Signed-off-by: Xfurry <xfurry@scriptdev2.com></pre>


Подробнее... (https://github.com/cmangos/mangos-cata/commit/f9617deb17fd356dc2b5cc91b3182d53e5c05169)