mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 12:07:05 +08:00
Mark absl::FastTypeId final to prevent subclassing
PiperOrigin-RevId: 879085283 Change-Id: I8a094c45cebb83839f423ef80b0e25decc3b1ef5
This commit is contained in:
committed by
Copybara-Service
parent
267879b45a
commit
6015232266
@@ -31,7 +31,7 @@ struct FastTypeTag {
|
||||
} // namespace base_internal
|
||||
|
||||
// The type returned by `absl::FastTypeId<T>()`.
|
||||
class FastTypeIdType {
|
||||
class FastTypeIdType final {
|
||||
public:
|
||||
// Creates a value that does not correspond to any type. This value is
|
||||
// distinct from any value returned by `FastTypeId<T>()`.
|
||||
|
||||
Reference in New Issue
Block a user