Skip to content

Commit

Permalink
geometry.h: remove MSVC workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekotekina committed Feb 12, 2020
1 parent bca2ccb commit 095598a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions Utilities/geometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
}

Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 095598a

Please sign in to comment.