summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2024-05-03 14:17:17 -0600
committerLywx <kiritodev01@gmail.com>2024-05-03 15:48:06 -0600
commit29c087ac54a8255a7405d0ebae2ab0a1d7581824 (patch)
tree8c8049937530e14eb39b3d88bbb6b4d43fad26b5
parent3b688fd727e8dbb0ee0eb18f36e0e11b86dad8f6 (diff)
Update CourseMetadata.cpp
-rw-r--r--src/factories/mk64/CourseMetadata.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/factories/mk64/CourseMetadata.cpp b/src/factories/mk64/CourseMetadata.cpp
index 2b39f57..d866179 100644
--- a/src/factories/mk64/CourseMetadata.cpp
+++ b/src/factories/mk64/CourseMetadata.cpp
@@ -290,18 +290,6 @@ ExportResult MK64::CourseMetadataCodeExporter::Export(std::ostream &write, std::
return std::nullopt;
}
-ExportResult MK64::CourseMetadataBinaryExporter::Export(std::ostream &write, std::shared_ptr<IParsedData> raw, std::string& entryName, YAML::Node &node, std::string* replacement ) {
- //auto metadata = std::static_pointer_cast<MetadataData>(raw)->mMetadata;
- //auto writer = LUS::BinaryWriter();
-
- throw std::runtime_error("CourseMetadata not implemented for OTR");
-
- // WriteHeader(writer, LUS::ResourceType::Metadata, 0);
- // writer.Write((uint32_t) metadata.size());
- //writer.Finish(write);
- return std::nullopt;
-}
-
std::optional<std::shared_ptr<IParsedData>> MK64::CourseMetadataFactory::parse(std::vector<uint8_t>& buffer, YAML::Node& node) {
auto dir = GetSafeNode<std::string>(node, "input_directory");
@@ -390,4 +378,4 @@ std::optional<std::shared_ptr<IParsedData>> MK64::CourseMetadataFactory::parse(s
SPDLOG_INFO("END RUNNING");
return std::make_shared<MetadataData>(yamlData);
-} \ No newline at end of file
+}