mirror of https://github.com/aria2/aria2
Merge pull request #941 from geetam/master
[Docs, libaria2] Fix type of obj pushed into options vectorpull/956/head
commit
c74ffa28c2
|
@ -98,7 +98,7 @@ representing aria2 options. For example, specify an option
|
||||||
``file-allocation`` to ``none``::
|
``file-allocation`` to ``none``::
|
||||||
|
|
||||||
aria2::KeyVals options;
|
aria2::KeyVals options;
|
||||||
options.push_back(aria2::KeyVals("file-allocation", "none"));
|
options.push_back(std::pair<std::string, std::string> ("file-allocation", "none"));
|
||||||
|
|
||||||
The first argument of :func:`sessionNew()` is analogous to the
|
The first argument of :func:`sessionNew()` is analogous to the
|
||||||
command-line argument to aria2c program. In the example program, we
|
command-line argument to aria2c program. In the example program, we
|
||||||
|
|
Loading…
Reference in New Issue