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

tests: benchmark: do not initialize the adhoc rule #165

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

qdeslandes
Copy link
Contributor

@qdeslandes qdeslandes commented Nov 8, 2024

Initializing the std::optional<std::string> adhoc rule variable to "" will... insert a value into the optional! Removing the point of using an optional and running the adhoc benchmark every time. Do not initialize the optional.

Initializing the std::optional<std::string> adhoc rule variable to ""
will... insert a value into the optional! Removing the point of using an
optional and running the adhoc benchmark **every time**. Do not
initialize the optional.
@qdeslandes qdeslandes merged commit ed4fe12 into facebook:main Nov 8, 2024
11 checks passed
@qdeslandes qdeslandes deleted the fix_bench branch November 8, 2024 22:05
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.

2 participants