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

Remove warnings 1 #255

Merged
merged 21 commits into from
Jan 28, 2025
Merged

Remove warnings 1 #255

merged 21 commits into from
Jan 28, 2025

Conversation

jgallagher59701
Copy link
Member

Remove warnings associated with the use of unary_function.

Some of these I replaced with lambda functions, some with range-based
for loops.

Copy link

sonarqubecloud bot commented Aug 1, 2024

@jgallagher59701 jgallagher59701 marked this pull request as ready for review November 19, 2024 17:23
Copy link
Contributor

@ndp-opendap ndp-opendap left a comment

Choose a reason for hiding this comment

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

Looks good modulo so,e clean up I think...

:shipit:

DDS.cc Outdated
@@ -1202,8 +1206,13 @@ void DDS::print_xml_writer(ostream &out, bool constrained, const string &blob) {
// Print the global attributes
d_attr.print_xml_writer(xml);

// Print each variable
#if 0
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this going away?Should it stay? What do?

Grid.cc Outdated
@@ -713,6 +713,8 @@ void Grid::print_xml(ostream &out, string space, bool constrained) {
out << xml.get_doc();
}

#if 0
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this going away?Should it stay? What do?

Grid.cc Outdated
@@ -765,7 +779,18 @@ void Grid::print_xml_writer(XMLWriter &xml, bool constrained) {

get_array()->print_xml_writer(xml, constrained);

#if 0
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this going away?Should it stay? What do?

@@ -29,7 +29,7 @@

// The d4_function_parser.tab.cc and .hh files define and declare this class
%define parser_class_name {D4FunctionParser}
// %define api.parser.class {D4FunctionParser}
// %define api.parser.class {D4FunctionParser}. Waiting on RHEL8 to upgrade bison. jhrg 7/19/24
Copy link
Contributor

Choose a reason for hiding this comment

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

Still?

Copy link
Member Author

Choose a reason for hiding this comment

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

ditto

@jgallagher59701
Copy link
Member Author

All suggestions followed. I'm going to merge now. I might look into the code smells as time allows.

@jgallagher59701 jgallagher59701 merged commit 52d4b36 into master Jan 28, 2025
4 checks passed
@jgallagher59701 jgallagher59701 deleted the remove-warnings-1 branch January 28, 2025 02:02
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.

2 participants