Skip to content

Commit

Permalink
Remove duplicate fd_null declaration
Browse files Browse the repository at this point in the history
Include field_type.h in ammo_effect.h rather than separately
forward-declaring fd_null there.

Avoids a clang-tidy warning.
  • Loading branch information
jbytheway committed Aug 9, 2020
1 parent 7ba9f97 commit ed6bf37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ammo_effect.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
#include <vector>

#include "explosion.h"
#include "field_type.h"
#include "string_id.h"
#include "type_id.h"

extern field_type_id fd_null;
class JsonObject;

struct ammo_effect {
Expand Down

0 comments on commit ed6bf37

Please sign in to comment.