summaryrefslogtreecommitdiffstats
path: root/lld/include/lld/Core/Reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/include/lld/Core/Reader.h')
-rw-r--r--lld/include/lld/Core/Reader.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/include/lld/Core/Reader.h b/lld/include/lld/Core/Reader.h
index d4af3ab4eda..0b6cf652fe7 100644
--- a/lld/include/lld/Core/Reader.h
+++ b/lld/include/lld/Core/Reader.h
@@ -51,9 +51,9 @@ public:
/// \brief Parse a supplied buffer (already filled with the contents of a
/// file) and create a File object.
/// The resulting File object takes ownership of the MemoryBuffer.
- virtual std::error_code
- loadFile(std::unique_ptr<MemoryBuffer> mb, const class Registry &,
- std::vector<std::unique_ptr<File>> &result) const = 0;
+ virtual std::error_code loadFile(std::unique_ptr<MemoryBuffer> mb,
+ const class Registry &,
+ std::unique_ptr<File> &result) const = 0;
};
@@ -91,7 +91,7 @@ public:
/// Walk the list of registered Readers and find one that can parse the
/// supplied file and parse it.
std::error_code loadFile(std::unique_ptr<MemoryBuffer> mb,
- std::vector<std::unique_ptr<File>> &result) const;
+ std::unique_ptr<File> &result) const;
/// Walk the list of registered kind tables to convert a Reference Kind
/// name to a value.
OpenPOWER on IntegriCloud