-
Notifications
You must be signed in to change notification settings - Fork 3
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: Remove vendored boost file to compile with boost 1.87. #471
Conversation
0b1cefa
to
63a5c92
Compare
fix: Replace expires_from_now with expires_after.
63a5c92
to
42cc871
Compare
@@ -37,13 +37,13 @@ void EventOutbox::do_shutdown(beast::error_code ec) { | |||
void EventOutbox::post_event(launchdarkly::sse::Event event) { | |||
auto http_request = build_request(callback_counter_++, std::move(event)); | |||
outbox_.push(http_request); | |||
flush_timer_.expires_from_now(boost::posix_time::milliseconds(0)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
API has been deprecated. The new API already exists in the oldest boost we support.
@@ -1,5 +1,3 @@ | |||
#include <boost/json/system_error.hpp> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This import was not used, and has been removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appears to have been added to boost in 1.72, and the library at the time seems to have built with 1.71. So likely this was to allow working with boost 1.71 and still using this feature.
BEGIN_COMMIT_OVERRIDE
fix: Remove vendored boost file to compile with boost 1.87.
fix: Update usage of the steady_timer to be compatible with boost 1.87.
fix: Remove type alias import for JSON system_error that was removed in boost 1.87.
END_COMMIT_OVERRIDE