input/Plugin: migrate init() from class Error to C++ exceptions

This commit is contained in:
Max Kellermann
2016-09-05 12:05:54 +02:00
parent a73688a2be
commit 6ed77f2a27
15 changed files with 55 additions and 99 deletions
+2 -3
View File
@@ -215,11 +215,10 @@ NfsInputStream::OnNfsFileError(Error &&error)
*
*/
static InputPlugin::InitResult
input_nfs_init(const ConfigBlock &, Error &)
static void
input_nfs_init(const ConfigBlock &)
{
nfs_init();
return InputPlugin::InitResult::SUCCESS;
}
static void