Merge pull request #287 from evanwporter/patch-1

`third` arg -> `second` arg in `parser.md/istream parse`
This commit is contained in:
Toru Niina
2025-03-29 15:33:59 +09:00
committed by GitHub

View File

@@ -90,7 +90,7 @@ Parses the content of the given `std::istream&`.
Open a stream in binary mode by passing `std::ios::binary` to avoid inconsistency between the file size and the number of characters due to automatic conversion of newline characters by the standard library.
The filename information is taken as the third argument. If the filename is not provided, it defaults to `"unknown file"`.
The filename information is taken as the second argument. If the filename is not provided, it defaults to `"unknown file"`.
### `parse(FILE*, std::string filename, toml::spec)`