Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@geetam
Copy link
Contributor

@geetam geetam commented Jun 16, 2017

aria2::KeyVals is a vector of pair of std strings, therefore the type of object being pushed should be std::pair<std::string, std::string>,
however in the docs, the type of the said object is KeyVals.
If one follows the docs, their code will fail to compile.

aria::KeyVals is a vector of pair of std strings, therefore the type of object being pushed should be std::pair<std::string, std::string>,
however in the docs, the type of the said object is KeyVals.
If one follows the docs, their code will fail to compile.
@tatsuhiro-t
Copy link
Collaborator

Thank you. Looks good. I should have write aria2::KeyVals::value_type, but the PR works.

@tatsuhiro-t tatsuhiro-t merged commit c74ffa2 into aria2:master Jun 18, 2017
@tatsuhiro-t tatsuhiro-t added this to the v1.33.0 milestone Jun 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants