Fixed return type

This commit is contained in:
Patrick Urbanke
2024-01-04 22:19:52 +01:00
parent b63c246f92
commit 5e9a660fa2
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ auto read(const InputVarType& _var) {
/// Parses an object from XML using reflection.
template <class T>
auto read(const std::string& _xml_str) {
Result<T> read(const std::string& _xml_str) {
pugi::xml_document doc;
const auto result = doc.load_string(_xml_str.c_str());
if (!result) {