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

FieldValue: Switch to std::variant #35

Merged
merged 1 commit into from
Jun 30, 2021
Merged

FieldValue: Switch to std::variant #35

merged 1 commit into from
Jun 30, 2021

Conversation

adamncasey
Copy link
Contributor

Since moving to C++17 we can replace boost::variant with std::variant.

Confirmed amqpprox runs OK and the unit tests log a method containing a FieldTable, to excercise the FieldValuePrinter.

I looked into replacing the remaining boost::shared_ptr usage but sadly boost::log won't accept a std::shared_ptr.
I also looked into #5 and found this will require a slightly bigger change than just switching the function names.

Since moving to C++17 we can replace boost::variant with std::variant.

Confirmed amqpprox runs OK and the unit tests log a method
containing a FieldTable.
@alaric alaric merged commit 0ed47a1 into bloomberg:main Jun 30, 2021
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.

3 participants