Forward-declare types only used in DataIdentity.cpp

develop
lethosor 2023-05-29 01:12:35 -04:00
parent 2f42745175
commit 8b786b4344
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
2 changed files with 7 additions and 2 deletions

@ -1,11 +1,13 @@
#include <stddef.h> #include <stddef.h>
#include <condition_variable>
#include <fstream> #include <fstream>
#include <mutex> #include <mutex>
#include <string> #include <string>
#include <vector> #include <vector>
#include "DataFuncs.h" #include "DataFuncs.h"
#include "DataIdentity.h"
namespace df { namespace df {
#define NUMBER_IDENTITY_TRAITS(category, type, name) \ #define NUMBER_IDENTITY_TRAITS(category, type, name) \

@ -24,16 +24,19 @@ distribution.
#pragma once #pragma once
#include <condition_variable>
#include <deque> #include <deque>
#include <map> #include <map>
#include <mutex>
#include <sstream> #include <sstream>
#include <string> #include <string>
#include <vector> #include <vector>
#include "DataDefs.h" #include "DataDefs.h"
namespace std {
class condition_variable;
class mutex;
};
/* /*
* Definitions of DFHack namespace structs used by generated headers. * Definitions of DFHack namespace structs used by generated headers.
*/ */