mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-18 18:55:51 +00:00
fix: add no lint to ignore clang-tidy (#1660)
Fixes build for [#1659](https://github.com/XRPLF/clio/actions/runs/10956058143/job/30421296417)
This commit is contained in:
committed by
Sergey Kuznetsov
parent
3f791c1315
commit
d189651821
@@ -88,7 +88,7 @@ public:
|
||||
// see here for more info:
|
||||
// https://stackoverflow.com/questions/72835571/constexpr-c-error-destructor-used-before-its-definition
|
||||
// https://godbolt.org/z/eMdWThaMY
|
||||
constexpr virtual ~Constraint() noexcept = default;
|
||||
constexpr virtual ~Constraint() noexcept {}; // NOLINT(google-default-destructor)
|
||||
|
||||
/**
|
||||
* @brief Check if the value meets the specific constraint.
|
||||
@@ -156,7 +156,8 @@ protected:
|
||||
class PortConstraint final : public Constraint {
|
||||
public:
|
||||
constexpr ~PortConstraint() override
|
||||
= default;
|
||||
{
|
||||
} // NOLINT(google-default-destructor)
|
||||
|
||||
private:
|
||||
/**
|
||||
@@ -187,7 +188,8 @@ private:
|
||||
class ValidIPConstraint final : public Constraint {
|
||||
public:
|
||||
constexpr ~ValidIPConstraint() override
|
||||
= default;
|
||||
{
|
||||
} // NOLINT(google-default-destructor)
|
||||
|
||||
private:
|
||||
/**
|
||||
@@ -228,7 +230,8 @@ public:
|
||||
}
|
||||
|
||||
constexpr ~OneOf() override
|
||||
= default;
|
||||
{
|
||||
} // NOLINT(google-default-destructor)
|
||||
|
||||
private:
|
||||
/**
|
||||
@@ -283,7 +286,8 @@ public:
|
||||
}
|
||||
|
||||
constexpr ~NumberValueConstraint() override
|
||||
= default;
|
||||
{
|
||||
} // NOLINT(google-default-destructor)
|
||||
|
||||
private:
|
||||
/**
|
||||
@@ -325,7 +329,8 @@ private:
|
||||
class PositiveDouble final : public Constraint {
|
||||
public:
|
||||
constexpr ~PositiveDouble() override
|
||||
= default;
|
||||
{
|
||||
} // NOLINT(google-default-destructor)
|
||||
|
||||
private:
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user