HomePhabricator

Deduplicate branches and adjust comment [NFC]

Authored by aaronpuchert on Mar 27 2021, 2:50 PM.

Description

Deduplicate branches and adjust comment [NFC]

Currently we want to allow calling non-const methods even when only a
shared lock is held, because -Wthread-safety-reference is already quite
sensitive and not all code is const-correct. Even if it is, this might
require users to add std::as_const around the implicit object argument.

See D52395 for a discussion.

Fixes PR46963.

Details

Committed
aaronpuchertMar 27 2021, 3:08 PM
Parents
rGd2855eba814f: [LV] Fix formatting from 2f9d68c3f12a.
Branches
Unknown
Tags
Unknown