Skip to content

Commit 9939850

Browse files
authored
Merge pull request ceph#57430 from tchaikov/wip-rgw-driver-posi
rgw/driver/posix: s/is_value()/success()/ Reviewed-by: Matt Benjamin <[email protected]>
2 parents 14cc06e + 830925f commit 9939850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgw/driver/posix/zpp_bits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3454,7 +3454,7 @@ struct [[nodiscard]] value_or_errc
34543454

34553455
constexpr value_or_errc(value_or_errc && other) noexcept
34563456
{
3457-
if (other.is_value()) {
3457+
if (other.success()) {
34583458
if constexpr (!std::is_void_v<Type>) {
34593459
if constexpr (!std::is_reference_v<Type>) {
34603460
::new (std::addressof(m_return_value))

0 commit comments

Comments
 (0)