Skip to content

Boost optional - #138

Merged
BewareMyPower merged 2 commits into
apache:mainfrom
fregate:boost-optional
Dec 7, 2022
Merged

Boost optional#138
BewareMyPower merged 2 commits into
apache:mainfrom
fregate:boost-optional

Conversation

@fregate

@fregate fregate commented Dec 6, 2022

Copy link
Copy Markdown
Contributor

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

Comment thread lib/ConsumerImpl.cc Outdated
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