diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2017-06-18 23:26:41 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-18 23:26:41 +0900 |
| commit | c74ffa28c29daded3c23c8787026077f3ee60ae4 (patch) | |
| tree | b96d32ec4176455d8921738e18320619d2e685ca | |
| parent | 54ccab8ccbcbf8eeeb6b05920d6cbd3db77d721a (diff) | |
| parent | 7f853c53dc8d2225ec9e1927c60f059c166039dd (diff) | |
Merge pull request #941 from geetam/master
[Docs, libaria2] Fix type of obj pushed into options vector
| -rw-r--r-- | doc/manual-src/en/libaria2.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual-src/en/libaria2.rst b/doc/manual-src/en/libaria2.rst index c39cfa0d..ea2acb38 100644 --- a/doc/manual-src/en/libaria2.rst +++ b/doc/manual-src/en/libaria2.rst @@ -98,7 +98,7 @@ representing aria2 options. For example, specify an option ``file-allocation`` to ``none``:: 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 command-line argument to aria2c program. In the example program, we |
