summaryrefslogtreecommitdiff
path: root/src/factories/IncludeFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/factories/IncludeFactory.cpp')
-rw-r--r--src/factories/IncludeFactory.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/factories/IncludeFactory.cpp b/src/factories/IncludeFactory.cpp
index f1cde4c..d816d7d 100644
--- a/src/factories/IncludeFactory.cpp
+++ b/src/factories/IncludeFactory.cpp
@@ -34,15 +34,10 @@ ExportResult IncludeCodeExporter::Export(std::ostream &write, std::shared_ptr<IP
return std::nullopt;
}
-ExportResult IncludeBinaryExporter::Export(std::ostream &write, std::shared_ptr<IParsedData> raw, std::string& entryName, YAML::Node &node, std::string* replacement ) {
- throw std::runtime_error("Include factory should not be used for otr/o2r mode.");
- return std::nullopt;
-}
-
std::optional<std::shared_ptr<IParsedData>> IncludeFactory::parse(std::vector<uint8_t>& buffer, YAML::Node& node) {
SPDLOG_INFO("parsing INC");
const uint32_t blank = 1;
return std::make_shared<IncludeData>(blank);
-} \ No newline at end of file
+}