-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor legacy (str.compare() == 0) to just ==
(string1.compare(string2)) == 0 is equivalent to string1 == string2. This patch refactors the usages of the former in kv_bucket.cc for readability. Change-Id: Iccd61bd3742460519fe0aef3afb84c43bc98e28a Reviewed-on: https://review.couchbase.org/c/kv_engine/+/172258 Reviewed-by: Richard de Mellow <richard.demellow@couchbase.com> Reviewed-by: James H <james.harrison@couchbase.com> Tested-by: Build Bot <build@couchbase.com>
- Loading branch information
Showing
1 changed file
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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