summaryrefslogtreecommitdiff
path: root/src/factories
diff options
context:
space:
mode:
Diffstat (limited to 'src/factories')
-rw-r--r--src/factories/sf64/MessageLookupFactory.cpp1
-rw-r--r--src/factories/sf64/ObjInitFactory.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/factories/sf64/MessageLookupFactory.cpp b/src/factories/sf64/MessageLookupFactory.cpp
index 6a7b221..5317a40 100644
--- a/src/factories/sf64/MessageLookupFactory.cpp
+++ b/src/factories/sf64/MessageLookupFactory.cpp
@@ -13,6 +13,7 @@ ExportResult SF64::MessageLookupHeaderExporter::Export(std::ostream &write, std:
}
write << "extern MsgLookup " << symbol << "[];\n";
+ return std::nullopt;
}
ExportResult SF64::MessageLookupCodeExporter::Export(std::ostream &write, std::shared_ptr<IParsedData> raw, std::string& entryName, YAML::Node &node, std::string* replacement ) {
diff --git a/src/factories/sf64/ObjInitFactory.cpp b/src/factories/sf64/ObjInitFactory.cpp
index 791535c..8a18033 100644
--- a/src/factories/sf64/ObjInitFactory.cpp
+++ b/src/factories/sf64/ObjInitFactory.cpp
@@ -14,6 +14,7 @@ ExportResult SF64::ObjInitHeaderExporter::Export(std::ostream &write, std::share
}
write << "extern ObjectInit " << symbol << "[];\n";
+ return std::nullopt;
}
ExportResult SF64::ObjInitCodeExporter::Export(std::ostream &write, std::shared_ptr<IParsedData> raw, std::string& entryName, YAML::Node &node, std::string* replacement ) {