working commit
This commit is contained in:
+3
-3
@@ -526,7 +526,7 @@ class InternetPacket final :
|
||||
kPayloadFieldNumber = 2,
|
||||
kMetaFieldNumber = 1,
|
||||
};
|
||||
// string payload = 2;
|
||||
// bytes payload = 2;
|
||||
void clear_payload();
|
||||
const std::string& payload() const;
|
||||
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||
@@ -1972,7 +1972,7 @@ inline void InternetPacket::set_allocated_meta(::uxcontrol::MsgMeta* meta) {
|
||||
// @@protoc_insertion_point(field_set_allocated:uxcontrol.InternetPacket.meta)
|
||||
}
|
||||
|
||||
// string payload = 2;
|
||||
// bytes payload = 2;
|
||||
inline void InternetPacket::clear_payload() {
|
||||
_impl_.payload_.ClearToEmpty();
|
||||
}
|
||||
@@ -1984,7 +1984,7 @@ template <typename ArgT0, typename... ArgT>
|
||||
inline PROTOBUF_ALWAYS_INLINE
|
||||
void InternetPacket::set_payload(ArgT0&& arg0, ArgT... args) {
|
||||
|
||||
_impl_.payload_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||
_impl_.payload_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||
// @@protoc_insertion_point(field_set:uxcontrol.InternetPacket.payload)
|
||||
}
|
||||
inline std::string* InternetPacket::mutable_payload() {
|
||||
|
||||
Reference in New Issue
Block a user