Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loader: Remove a constant static std::vector, use a std::array instead. #97

Merged
merged 1 commit into from Aug 2, 2019

Conversation

@rpavlik
Copy link
Contributor

commented Aug 2, 2019

Consumer code also modified slightly to both a: work and b: avoid vector copies.

Previously, was getting warnings at build time that the std::vector constructor could throw exceptions it was impossible to catch (because of static lifetime)

cc @zheqiMicrosoft

loader: Remove a constant static std::vector, use a std::array instead.
Consumer code also modified slightly to both a: work and b: avoid vector copies.

@rpavlik rpavlik requested a review from daveh-lunarg Aug 2, 2019

@brycehutchings brycehutchings self-requested a review Aug 2, 2019

@rpavlik rpavlik merged commit c2f47b6 into KhronosGroup:master Aug 2, 2019

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
license/cla Contributor License Agreement is signed.
Details

@rpavlik rpavlik deleted the rpavlik:static-vector-removal branch Aug 2, 2019

rpavlik added a commit that referenced this pull request Aug 3, 2019

OpenXR 1.0.1 release (2-August-2019)
Patch release for the 1.0 series.

### GitHub Pull Requests

These had been integrated into the public repo incrementally.

- General, Build, Other
  - #87 - Fix makefiles
  - #88 - Remove unneeded generation (corresponds to issue #74, internal issue 1139, internal MR 1491)
  - #101 - Fix install of header and loader.
- Loader
  - #91 - Fix a loader bug which prevented Layers from not implementing all XR functions
  - #95 - Guard config includes/defines (relates to #81, #92)
  - #97 - Remove a constant static std::vector, use a std::array instead.
- Layers
  - #84 - Fix Linux warning for apidump
- From OpenXR-Docs:
  - #26 - Proposal for unbounded space and spatial anchor extensions (vendor extensions)

### Internal issues

- General, Build, Other
  - Makefile cleanups (internal MR 1469, 1489)
  - Add release scripts (internal MR 1496)
- Registry
  - Reserve Oculus extension numbers (internal MR 1493)
  - Add Monado headless (vendor extension) (internal MR 1482)
- Loader
  - Remove unnecessary `#ifdef _WIN32` in loader. (internal MR 1487)

### New extensions

- `XR_MND_headless`
- `XR_MSFT_spatial_anchor`
- `XR_MSFT_unbounded_reference_space`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.