Skip to content

Default MetricValue special members#684

Open
lyskov-ai wants to merge 2 commits intoRosettaCommons:mainfrom
lyskov-ai:refactor/metric-value-default-members
Open

Default MetricValue special members#684
lyskov-ai wants to merge 2 commits intoRosettaCommons:mainfrom
lyskov-ai:refactor/metric-value-default-members

Conversation

@lyskov-ai
Copy link
Copy Markdown
Contributor

Summary

  • default no-op MetricValueBase destructor
  • default MetricValue default and copy constructors

Testing

  • python3 ./scons.py -j16 mode=debug
  • python3 test/run.py -j16 --mode=debug MetricValueIOTest
  • python3 ./scons.py -j16 mode=release bin

@lyskov lyskov requested a review from roccomoretti May 1, 2026 17:18
lyskov-ai added 2 commits May 6, 2026 12:07
CI build (gcc with -Werror=unused-parameter) flagged the named parameter
on the defaulted copy constructor as unused. Drop the name; the defaulted
body still copies the source.
@lyskov-ai lyskov-ai force-pushed the refactor/metric-value-default-members branch from 32851eb to e91f32a Compare May 6, 2026 17:28
@lyskov-ai lyskov-ai requested review from lyskov and roccomoretti May 8, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants