diff options
Diffstat (limited to 'src/factories/sm64/DictionaryFactory.cpp')
| -rw-r--r-- | src/factories/sm64/DictionaryFactory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/factories/sm64/DictionaryFactory.cpp b/src/factories/sm64/DictionaryFactory.cpp index 2b723ef..63d9f3d 100644 --- a/src/factories/sm64/DictionaryFactory.cpp +++ b/src/factories/sm64/DictionaryFactory.cpp @@ -1,6 +1,6 @@ #include "DictionaryFactory.h" -void SM64::DictionaryBinaryExporter::Export(std::ostream &write, std::shared_ptr<IParsedData> raw, std::string& entryName, YAML::Node &node, std::string* replacement ) { +ExportResult SM64::DictionaryBinaryExporter::Export(std::ostream &write, std::shared_ptr<IParsedData> raw, std::string& entryName, YAML::Node &node, std::string* replacement ) { auto writer = LUS::BinaryWriter(); const auto data = std::static_pointer_cast<DictionaryData>(raw); @@ -13,6 +13,7 @@ void SM64::DictionaryBinaryExporter::Export(std::ostream &write, std::shared_ptr writer.Write(reinterpret_cast<char*>(value.data()), value.size()); } writer.Finish(write); + return std::nullopt; } std::optional<std::shared_ptr<IParsedData>> SM64::DictionaryFactory::parse(std::vector<uint8_t>& buffer, YAML::Node& data) { |
