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

Fix issue #2212: Bson.get!BsonRegex does not compile #2224

Merged
merged 1 commit into from Oct 20, 2018

Conversation

Projects
None yet
2 participants
@Soletek
Copy link
Contributor

commented Oct 20, 2018

It was not possible to pass an alias of m_data with const qualifier into a function that mutates the reference. Now passing a full slice instead.

Also added an unit test

Fix issue #2212: Bson.get!BsonRegex does not compile
It was not possible to pass alias of m_data with const
qualifier into a function that mutates the reference.
Now passing full slice instead.

Also added unit test

@wilzbach wilzbach merged commit 6295e3a into vibe-d:master Oct 20, 2018

3 checks passed

codecov/patch 100% of diff hit (target 59.522%)
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.