Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Alternate Headers XML logger #4207

Merged

Conversation

Pepe20129
Copy link
Contributor

@Pepe20129 Pepe20129 commented Jun 3, 2024

Copy link
Contributor

@inspectredc inspectredc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just one non-blocking thing

Comment on lines +76 to +80
for (size_t i = 0; i < setAlternateHeaders->headerFileNames.size(); i++) {
tinyxml2::XMLElement* entry = doc.NewElement("Header");
entry->SetAttribute("Path", setAlternateHeaders->headerFileNames[i].c_str());
root->InsertEndChild(entry);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can probably just use a for auto loop here

Copy link
Contributor Author

@Pepe20129 Pepe20129 Jun 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably, but all other for loops in this file are like this, maybe something for a future cleanup pr

@briaguya-ai briaguya-ai merged commit 839fcff into HarbourMasters:develop Jun 16, 2024
5 checks passed
@Pepe20129 Pepe20129 deleted the alternate_headers_xml_logger branch July 7, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants