mirror of https://github.com/odrling/Aegisub
Remove unused helper function
This commit is contained in:
parent
2f0ddb4f32
commit
6ce9ce1546
|
@ -41,10 +41,6 @@ json::UnknownElement parse(std::istream &stream) {
|
|||
}
|
||||
}
|
||||
|
||||
json::UnknownElement file(agi::fs::path const& file) {
|
||||
return parse(*io::Open(file));
|
||||
}
|
||||
|
||||
json::UnknownElement file(agi::fs::path const& file, std::pair<const char *, size_t> default_config) {
|
||||
try {
|
||||
if (fs::FileExists(file))
|
||||
|
|
|
@ -26,11 +26,6 @@ namespace agi { namespace json_util {
|
|||
/// @return json::UnknownElement
|
||||
json::UnknownElement parse(std::istream &stream);
|
||||
|
||||
/// Parse a JSON file.
|
||||
/// @param file Path JSON to file
|
||||
/// @return json::UnknownElement
|
||||
json::UnknownElement file(agi::fs::path const& file);
|
||||
|
||||
/// Parse a json stream, with default handler.
|
||||
/// @param file Path to JSON file.
|
||||
/// @param Default config file to load incase of nonexistent file
|
||||
|
|
Loading…
Reference in New Issue