Skip to content

Commit 818b8ef

Browse files
Add has_default_instance() to ImplicitWeakTypeHandler
PiperOrigin-RevId: 817364660
1 parent 5193e78 commit 818b8ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/google/protobuf/implicit_weak_message.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ class ImplicitWeakTypeHandler {
137137
static void Merge(const MessageLite& from, MessageLite* to) {
138138
to->CheckTypeAndMergeFrom(from);
139139
}
140+
static constexpr bool has_default_instance() { return false; }
140141
};
141142

142143
} // namespace internal

0 commit comments

Comments
 (0)