Skip to content

Fix ambiguous from_stream call in non-MSVC parse functions#913

Open
gillesdegottex wants to merge 1 commit into
HowardHinnant:masterfrom
gillesdegottex:master
Open

Fix ambiguous from_stream call in non-MSVC parse functions#913
gillesdegottex wants to merge 1 commit into
HowardHinnant:masterfrom
gillesdegottex:master

Conversation

@gillesdegottex

Copy link
Copy Markdown

The non-MSVC versions of parse() used unqualified from_stream, which becomes ambiguous when tz.h is included (it adds from_stream overloads for utc_time, tai_time, gps_time). Qualifying with date:: resolves the ambiguity and matches the MSVC versions.

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.

1 participant