sim_model.h: change order of includes to avoid conflicts with a windows header.
msys2 specific. No actual change in code.
This commit is contained in:
parent
5e47ce8963
commit
fc849e3e0c
|
@ -25,13 +25,17 @@
|
|||
#ifndef SIM_MODEL_H
|
||||
#define SIM_MODEL_H
|
||||
|
||||
#include <sim/sim_value.h>
|
||||
#include <enum_vector.h>
|
||||
#include <sch_field.h>
|
||||
#include <lib_field.h>
|
||||
#include <wx/string.h>
|
||||
#include <map>
|
||||
|
||||
#include <sch_field.h>
|
||||
#include <lib_field.h>
|
||||
|
||||
// Must be included after sch_field.h (exactly eda_shape.h) to avoid a colliding
|
||||
// declaration with a window header (under msys2)
|
||||
#include <sim/sim_value.h>
|
||||
#include <enum_vector.h>
|
||||
|
||||
class SIM_LIBRARY;
|
||||
|
||||
|
||||
|
@ -94,7 +98,7 @@ public:
|
|||
|
||||
|
||||
// There's a trailing '_' because `DEVICE_TYPE` collides with something in Windows headers.
|
||||
DEFINE_ENUM_CLASS_WITH_ITERATOR( DEVICE_TYPE_,
|
||||
DEFINE_ENUM_CLASS_WITH_ITERATOR( DEVICE_TYPE_,
|
||||
NONE,
|
||||
|
||||
R,
|
||||
|
@ -359,7 +363,7 @@ public:
|
|||
std::unique_ptr<SIM_VALUE> value;
|
||||
const INFO& info;
|
||||
bool isOtherVariant = false; // Legacy.
|
||||
|
||||
|
||||
PARAM( const INFO& aInfo, bool aIsOtherVariant = false )
|
||||
: value( SIM_VALUE::Create( aInfo.type ) ),
|
||||
info( aInfo ),
|
||||
|
|
Loading…
Reference in New Issue