Skip to content

Commit

Permalink
Remove extern when initializing research_array
Browse files Browse the repository at this point in the history
  • Loading branch information
psampathkumar authored and lmoureaux committed Jul 15, 2022
1 parent 0261129 commit 7e21046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/research.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ _ ._ Copyright (c) 1996-2021 Freeciv21 and Freeciv contributors.

#include "research.h"
// FIXME: Dont use extern, move inside some game running class eventually
extern std::vector<research> research_array(MAX_NUM_PLAYER_SLOTS);
std::vector<research> research_array(MAX_NUM_PLAYER_SLOTS);

struct research_player_iter {
struct iterator vtable;
Expand Down

0 comments on commit 7e21046

Please sign in to comment.