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

Compiles with boost 1.67 #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Fierthraix
Copy link

Fixes #55

Before boost 1.67 values passed to date_time structs would be auto-converted from floating point numbers to integers. Boost 1.67 disallows this to force user handling of special values (like NaN).

This converts the interval time back to an integer before being sent to posix_time::microseconds.

@webhat
Copy link

webhat commented May 1, 2019

Is there a reason this isn't merged into the main branch?

@AdamVanScyoc
Copy link

I was about to submit a pull request with an equivalent fix

Should be merged, will also fix #60

@balint256 merge?

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.

Doesn't compile with boost 1.67
3 participants