[nostalgia/geo] Fix Vec2 test
This commit is contained in:
@@ -8,11 +8,9 @@
|
||||
|
||||
namespace nostalgia::geo {
|
||||
|
||||
#ifndef OX_OS_BareMetal // doesn't compile in devKitPro for some reason
|
||||
static_assert([] {
|
||||
Vec2 v(1, 2);
|
||||
return v.x == 1 && v.y == 2 && v[0] == 1 && v[1] == 2 && v.size() == 2;
|
||||
});
|
||||
#endif
|
||||
}());
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user