Skip to content

Commit bec3094

Browse files
committed
appease iwyu too
1 parent 5f39355 commit bec3094

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/generic_factory.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@
3636
#include "string_formatter.h"
3737
#include "string_id.h"
3838
#include "units.h"
39-
#include "weighted_list.h"
4039

4140
class quantity;
4241

4342
template <typename E> class enum_bitset;
43+
template<typename T> struct weighted_int_list;
44+
template <typename T, typename W> struct weighted_list;
4445

4546
/**
4647
A generic class to store objects identified by a `string_id`.

src/magic_ter_fur_transform.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
#include "translation.h"
2121
#include "trap.h"
2222
#include "type_id.h"
23-
#include "weighted_list.h"
23+
24+
template<typename T> struct weighted_int_list;
2425

2526
namespace
2627
{

src/mapgen_functions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include "debug.h"
2222
#include "flood_fill.h"
2323
#include "map.h"
24+
#include "mapdata.h"
2425
#include "map_iterator.h"
2526
#include "map_scale_constants.h"
2627
#include "mapgen.h"

0 commit comments

Comments
 (0)