Fix forward declaraction of ObjectRepositoryItem

This commit is contained in:
Michał Janiszewski committed 2016-10-21 11:22:17 +02:00
1 parent 8b5024a893
commit 18ff83fd6c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ enum {
NETWORK_TICK_FLAG_CHECKSUMS = 1 << 0,
};
class ObjectRepositoryItem;
struct ObjectRepositoryItem;
class Network
{
+1 -1
View File
@@ -27,7 +27,7 @@ extern "C"
#include "../object_list.h"
}
class ObjectRepositoryItem;
struct ObjectRepositoryItem;
int scenario_save_network(SDL_RWops* rw, const std::vector<const ObjectRepositoryItem *> &objects);
int scenario_write_packed_objects(SDL_RWops* rw, std::vector<const ObjectRepositoryItem *> &objects);