diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2024-05-03 14:14:34 -0600 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-05-03 15:48:06 -0600 |
| commit | c6d7773b75be80ce8df2e392f018da74953afbdc (patch) | |
| tree | b5e420f6ac43cd59bc34f23cccc7f6f1a37526fe /src | |
| parent | 58c891187a3d02e2f5d8d92ed11abb367901d057 (diff) | |
Update IncludeFactory.cpp
Diffstat (limited to 'src')
| -rw-r--r-- | src/factories/IncludeFactory.cpp | 7 |
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 +} |
