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 usage of optional<T const&>. #1385

Merged
merged 1 commit into from Sep 6, 2016

Conversation

endJunction
Copy link
Member

@endJunction endJunction commented Sep 5, 2016

The called getPropertyVector<T>() did not return an optional to a const reference (there are two versions of that function), but an optional<T&>.

With boost 1.61 this conversion is no longer possible.

Fixes #1383

The called getPropertyVector<T>() did not return
a const reference optional, but an optional<T&>.

With boost 1.61 this conversion is no longer possible.

Fixes #1383
@TomFischer
Copy link
Member

Send you a PR for discussion.

@bilke
Copy link
Member

bilke commented Sep 6, 2016

Is fine on Mac OS Clang! 👍

@TomFischer
Copy link
Member

👍

@TomFischer TomFischer merged commit 728b892 into ufz:master Sep 6, 2016
@endJunction endJunction deleted the FixBoostOptional branch September 6, 2016 08:32
bilke added a commit to bilke/ogs that referenced this pull request Sep 14, 2016
bilke added a commit to bilke/ogs that referenced this pull request Sep 14, 2016
@chleh
Copy link
Collaborator

chleh commented Sep 19, 2016

I know it's already merged, but isn't an optional reference semantically equal to a pointer?

Yonghui56 pushed a commit to Yonghui56/ogs that referenced this pull request Sep 20, 2016
@ogsbot
Copy link
Member

ogsbot commented Jun 19, 2020

OpenGeoSys development has been moved to GitLab.

See this pull request on GitLab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants