Skip to content

Commit

Permalink
Revert missing noexcept suggested by JesusPoderoso.
Browse files Browse the repository at this point in the history
Signed-off-by: paxifaer <[email protected]>
  • Loading branch information
paxifaer committed Sep 7, 2024
1 parent 64e4230 commit 7a19061
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ bool AnnotationDescriptorImpl::equals(
}

bool AnnotationDescriptorImpl::equals(
AnnotationDescriptorImpl& descriptor)
AnnotationDescriptorImpl& descriptor) noexcept
{
return (type_ && type_->equals(descriptor.type_)) &&
value_ == descriptor.value_;
}

bool AnnotationDescriptorImpl::is_consistent()
bool AnnotationDescriptorImpl::is_consistent() noexcept
{
if (!type_ || type_->get_kind() != TK_ANNOTATION)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ class AnnotationDescriptorImpl : public virtual AnnotationDescriptor
const ObjectName& key) const noexcept;

ReturnCode_t get_all_value(
Parameters& value) override;
Parameters& value) noexcept override;

ReturnCode_t get_all_value(
Parameters& value) const;
Parameters& value) const noexcept;

ReturnCode_t set_value(
const ObjectName& key,
Expand Down

0 comments on commit 7a19061

Please sign in to comment.