Skip to content
Snippets Groups Projects
Verified Commit eb51501a authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Merge branch 'f-value-and-unit' into f-int64

parents 9fc9e626 526cfca2
No related branches found
No related tags found
1 merge request!22Return to int64 for integer values
Pipeline #12923 failed
......@@ -601,6 +601,7 @@ public:
value.wrapped = this->wrapped->mutable_value();
properties.wrapped = this->wrapped->mutable_properties();
parents.wrapped = this->wrapped->mutable_parents();
// FIXME(dh) copy messages?
errors.wrapped = CreateMessagesField();
warnings.wrapped = CreateMessagesField();
infos.wrapped = CreateMessagesField();
......@@ -613,6 +614,7 @@ public:
value.wrapped = this->wrapped->mutable_value();
properties.wrapped = this->wrapped->mutable_properties();
parents.wrapped = this->wrapped->mutable_parents();
// FIXME(dh) copy messages?
errors.wrapped = CreateMessagesField();
warnings.wrapped = CreateMessagesField();
infos.wrapped = CreateMessagesField();
......@@ -650,6 +652,7 @@ public:
return this->warnings.wrapped->size() > 0;
}
[[nodiscard]] auto GetInfos() const -> const Messages & { return infos; }
[[nodiscard]] inline auto HasInfos() const -> bool { return this->infos.wrapped->size() > 0; }
inline auto ToString() const -> const std::string {
google::protobuf::util::JsonPrintOptions options;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment