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

Boost optional #138

Merged
merged 2 commits into from
Dec 7, 2022
Merged

Boost optional #138

merged 2 commits into from
Dec 7, 2022

Conversation

fregate
Copy link
Contributor

@fregate fregate commented Dec 6, 2022

Fixes #134

Master Issue: #

Motivation

Switch to use boost::optional instead self-written Optional class

Modifications

Remove class Optional in Utils.h and change all usage to boost::optional

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

Documentation

  • [ * ] doc-not-needed
    This is internal structure, not a public API

lib/ConsumerImpl.cc Outdated Show resolved Hide resolved
Co-authored-by: Baodi Shi <wudixiaolongbao@icloud.com>
@BewareMyPower BewareMyPower merged commit 18dcdd5 into apache:main Dec 7, 2022
@fregate fregate deleted the boost-optional branch December 7, 2022 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Do not use custom written Optional<T> class
3 participants