Repository navigation
Conversation
arkjedrz
requested review from
PandaeDo,
antonkri,
umaucher and
vinodreddy-g
as code owners
October 26, 2026 08:40
arkjedrz
had a problem deploying
to
workflow-approval
October 26, 2026 08:40 — with
GitHub Actions
Error
arkjedrz
had a problem deploying
to
workflow-approval
October 26, 2026 08:40 — with
GitHub Actions
Error
Contributor
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //:license-checkStatus: Click to expand output |
Contributor
|
Documentation preview for this pull request is available at: |
arkjedrz
force-pushed
the
arkjedrz_set-value-to-default
branch
from
October 26, 2026 09:57
6d2fe8e to
e77840a
Compare
arkjedrz
force-pushed
the
arkjedrz_set-value-to-default
branch
from
October 27, 2026 09:55
e77840a to
33f4525
Compare
arkjedrz
force-pushed
the
arkjedrz_set-value-to-default
branch
from
October 28, 2026 06:29
33f4525 to
582d1c6
Compare
arkjedrz
had a problem deploying
to
workflow-approval
October 28, 2026 06:29 — with
GitHub Actions
Error
arkjedrz
had a problem deploying
to
workflow-approval
October 28, 2026 06:29 — with
GitHub Actions
Error
arkjedrz
force-pushed
the
arkjedrz_set-value-to-default
branch
from
October 28, 2026 13:03
582d1c6 to
c4a577a
Compare
arkjedrz
had a problem deploying
to
workflow-approval
October 28, 2026 13:03 — with
GitHub Actions
Error
arkjedrz
had a problem deploying
to
workflow-approval
October 28, 2026 13:03 — with
GitHub Actions
Error
arkjedrz
force-pushed
the
arkjedrz_set-value-to-default
branch
from
October 28, 2026 15:07
c4a577a to
8646c79
Compare
arkjedrz
had a problem deploying
to
workflow-approval
October 28, 2026 15:07 — with
GitHub Actions
Error
arkjedrz
had a problem deploying
to
workflow-approval
October 28, 2026 15:07 — with
GitHub Actions
Error
- Rename in the code, docs, tests. - C++: `ResetKey` to `SetValueToDefault`, drop the deprecated `reset_key`. - Change the behavior to match the intent of the method. - Update docs to match the intent. - Drop `KeyDefaultNotFound` used only by previous version of method.
arkjedrz
force-pushed
the
arkjedrz_set-value-to-default
branch
from
October 28, 2026 16:10
8646c79 to
75a1f91
Compare
arkjedrz
requested a deployment
to
workflow-approval
October 28, 2026 16:10 — with
GitHub Actions
Waiting
arkjedrz
requested a deployment
to
workflow-approval
October 28, 2026 16:10 — with
GitHub Actions
Waiting
Ahmed-Elsaka-JC
suggested changes
Oct 28, 2026
|
|
||
| // Return value ignored: a key that was never written needs no reset. | ||
| score::cpp::ignore = kvs_.erase(std::string(key)); | ||
| kvs_.insert_or_assign(std::string(key), default_value); |
Contributor
There was a problem hiding this comment.
i would suggent to replace the following two lines :
auto default_value{*default_value_result};
kvs_.insert_or_assign(std::string(key), default_value);
with :
kvs_.insert_or_assign(std::string(key), std::move(*default_value_result));
To avoid copy value two times.
This branch is waiting to be deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
KeyDefaultNotFoundused only by previous version of method.Fixes #527