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

Add missing header <sstream> #1267

Merged
merged 1 commit into from Mar 9, 2017
Merged

Add missing header <sstream> #1267

merged 1 commit into from Mar 9, 2017

Conversation

adevress
Copy link
Contributor

@adevress adevress commented Mar 8, 2017

Add missing header related to the usage of std::istringstream in util.hh

Without that, the inclusion of the store-api.hh return an error at compile time.

due to line 315 in utils.hh

if (string(s, 0, 1) == "-" && !std::numeric_limits<N>::is_signed)
    return false;
std::istringstream str(s);
str >> n;

@edolstra edolstra merged commit 6a308c7 into NixOS:master Mar 9, 2017
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.

None yet

2 participants