mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Reduce number of recursively included headers
This should improve compilation speed. Things changed: * Prefer forward-declarations in headers. * Move header-includes out of headers if possible. * Move some functions definitions out of headers. * Put some member variables into unique_ptrs (see Client).
This commit is contained in:
parent
e9e8eed360
commit
8b73743baa
35 changed files with 109 additions and 56 deletions
|
@ -18,6 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
*/
|
||||
|
||||
#include <gamedef.h>
|
||||
#include <inventory.h>
|
||||
#include <inventorymanager.h>
|
||||
|
||||
class MockInventoryManager : public InventoryManager
|
||||
|
|
|
@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "voxelalgorithms.h"
|
||||
#include "util/numeric.h"
|
||||
#include "dummymap.h"
|
||||
#include "nodedef.h"
|
||||
|
||||
class TestVoxelAlgorithms : public TestBase {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue