summaryrefslogtreecommitdiffstats
path: root/init/import_parser.h
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2017-08-02 17:01:36 -0700
committerTom Cherry <tomcherry@google.com>2017-08-14 10:27:33 -0700
commitb592dd8afff487e5ba73bbd782cfa7501a65e88e (patch)
tree22dde0feaeec6d370a71fe8d324d4b59f5c6f6b0 /init/import_parser.h
parent7fa62c58d603dc1bc56d73a22bbf7f9a0dd3059e (diff)
downloadsystem_core-b592dd8afff487e5ba73bbd782cfa7501a65e88e.tar.gz
system_core-b592dd8afff487e5ba73bbd782cfa7501a65e88e.tar.bz2
system_core-b592dd8afff487e5ba73bbd782cfa7501a65e88e.zip
init: use Result<T> for the parsing functions
Test: boot bullhead Change-Id: I7f00c5f0f54dd4fe05df73e1d6a89b56d788e113
Diffstat (limited to 'init/import_parser.h')
-rw-r--r--init/import_parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/import_parser.h b/init/import_parser.h
index 0d04e0e27..5a2f89498 100644
--- a/init/import_parser.h
+++ b/init/import_parser.h
@@ -28,8 +28,8 @@ namespace init {
class ImportParser : public SectionParser {
public:
ImportParser(Parser* parser) : parser_(parser) {}
- bool ParseSection(std::vector<std::string>&& args, const std::string& filename, int line,
- std::string* err) override;
+ Result<Success> ParseSection(std::vector<std::string>&& args, const std::string& filename,
+ int line) override;
void EndFile() override;
private: