mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-04 12:39:52 +00:00
geometry.h: remove MSVC workaround
This commit is contained in:
parent
7137142351
commit
e8988faed5
@ -610,18 +610,11 @@ struct coord_base
|
||||
};
|
||||
|
||||
constexpr coord_base() : position{}, size{}
|
||||
#ifdef _MSC_VER
|
||||
//compiler error
|
||||
, x{}, y{}, width{}, height{}
|
||||
#endif
|
||||
{
|
||||
}
|
||||
|
||||
constexpr coord_base(const position_base<T>& position, const size2_base<T>& size)
|
||||
: position{ position }, size{ size }
|
||||
#ifdef _MSC_VER
|
||||
, x{ position.x }, y{ position.y }, width{ size.width }, height{ size.height }
|
||||
#endif
|
||||
{
|
||||
}
|
||||
|
||||
@ -777,15 +770,6 @@ template<typename T>
|
||||
struct size3_base
|
||||
{
|
||||
T width, height, depth;
|
||||
/*
|
||||
size3_base() : width{}, height{}, depth{}
|
||||
{
|
||||
}
|
||||
|
||||
size3_base(T width, T height, T depth) : width{ width }, height{ height }, depth{ depth }
|
||||
{
|
||||
}
|
||||
*/
|
||||
};
|
||||
|
||||
template<typename T>
|
||||
|
Loading…
x
Reference in New Issue
Block a user