Skip to content

Commit

Permalink
updated Vec2 to match otehrs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacey committed Dec 13, 2023
1 parent 0bc2769 commit b2fc242
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/ngl/Vec2.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,9 @@ class NGL_DLLEXPORT Vec2
/// anonymous unions public whereas clang++ complains see this post
/// http://jonmacey.blogspot.com/2011/03/anonymous-union-struct-weirdness.html
public:
#pragma pack(push, 1)

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpedantic"
#pragma pack(push, 1)
union
{
struct
Expand Down

0 comments on commit b2fc242

Please sign in to comment.