79418035

Date: 2025-02-06 13:17:19
Score: 7 🚩
Natty:
Report link

Can someone help me change this in to valid gcc11 code? Thanks

void loadFromImpl(const XmlNode& tree, Args&... fields)
    {
        using namespace std::string_literals;

        try
        {
            auto root = tree.get_child(RootNode);
            (loadField(root, fields, std::make_index_sequence<fmt::runtime(fields.size())>{}), ...);
        }
        catch (std::exception& e)
        {
            throw SettingsSerializer::Error{"Settings", "Load settings error: "s + e.what()};
        }
    }
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can someone help me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Can someone help me
  • Low reputation (1):
Posted by: MrMEEE