Skip to content

Commit

Permalink
Remove effectset.h
Browse files Browse the repository at this point in the history
Move the 2 declarations in that file to containers_fwd.h
  • Loading branch information
edo9300 committed Dec 24, 2023
1 parent 48a4ecf commit bcd078a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 21 deletions.
1 change: 0 additions & 1 deletion card.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "containers_fwd.h"
#include "common.h"
#include "lua_obj.h"
#include "effectset.h"
#include "duel.h"
#include <set>
#include <map>
Expand Down
4 changes: 4 additions & 0 deletions containers_fwd.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class effect;
using effect_vector = std::vector<effect*>;
using effect_container = std::multimap<uint32_t, effect*>;
using effect_indexer = std::unordered_map<effect*, effect_container::iterator>;
using effect_set = std::vector<effect*>;
using effect_set_v = effect_set;

bool effect_sort_id(const effect* e1, const effect* e2);

struct chain;
using chain_array = std::vector<chain>;
Expand Down
19 changes: 0 additions & 19 deletions effectset.h

This file was deleted.

1 change: 0 additions & 1 deletion field.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "common.h"
#include "card.h"
#include "progressivebuffer.h"
#include "effectset.h"
#include <vector>
#include <set>
#include <map>
Expand Down

0 comments on commit bcd078a

Please sign in to comment.