mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
Update IncludeFactory.cpp
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user