Fix build issue on MAC when using the emplace_back method
The XCode compiler seems to be stricter about structs default constructors, so we can't use emplace_back and the construct-in-place mechanism without manually declaring the constructors, which would be overkill in this case. We don't really need the provided performance improvement because those operations are not done thousands of times. Just use push_back with the explicit struct default constructor.
Fix build issue on MAC when using the
emplace_back
methodThe XCode compiler seems to be stricter about structs default constructors, so we can't use
emplace_back
and the construct-in-place mechanism without manually declaring the constructors, which would be overkill in this case. We don't really need the provided performance improvement because those operations are not done thousands of times. Just usepush_back
with the explicit struct default constructor.