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

Fix name conflict in dataset.h #215

Merged
merged 2 commits into from
Feb 25, 2022

Conversation

billschereriii
Copy link
Contributor

The name of the dataset was stored in the variable "name", but this conflicted with the parameter "name" used in several of the dataset member functions. Renamed the parameter to "_name" to help show it as a member variable and eliminate the conflict.

@billschereriii billschereriii added the area: C++ Issues related to the C++ client label Feb 15, 2022
@billschereriii billschereriii self-assigned this Feb 15, 2022
@codecov-commenter
Copy link

codecov-commenter commented Feb 15, 2022

Codecov Report

Merging #215 (0fd825f) into develop (cc18c2a) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #215      +/-   ##
===========================================
+ Coverage    82.45%   82.46%   +0.01%     
===========================================
  Files           50       51       +1     
  Lines         2838     2840       +2     
===========================================
+ Hits          2340     2342       +2     
  Misses         498      498              
Impacted Files Coverage Δ
include/dataset.h 100.00% <100.00%> (ø)
src/cpp/client.cpp 87.28% <100.00%> (ø)
src/cpp/dataset.cpp 89.61% <100.00%> (ø)
include/client.h 100.00% <0.00%> (ø)
include/srexception.h 24.13% <0.00%> (ø)

Copy link
Collaborator

@mellis13 mellis13 left a comment

Choose a reason for hiding this comment

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

Looks great -- thanks!

@billschereriii billschereriii merged commit a45fd4b into CrayLabs:develop Feb 25, 2022
@billschereriii billschereriii deleted the name-conflict branch February 25, 2022 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: C++ Issues related to the C++ client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants