Applied hicpp-noexcept-move clang-tidy fixes

This commit is contained in:
Bartek Kryza
2022-12-21 17:31:45 +01:00
parent 25f787785f
commit 217edd27bd
4 changed files with 7 additions and 7 deletions

View File

@@ -27,9 +27,9 @@ diagram::diagram() = default;
diagram::~diagram() = default;
diagram::diagram(diagram &&) = default;
diagram::diagram(diagram &&) noexcept = default;
diagram &diagram::operator=(diagram &&) = default;
diagram &diagram::operator=(diagram &&) noexcept = default;
common::optional_ref<clanguml::common::model::diagram_element>
diagram::get_with_namespace(const std::string &name, const namespace_ &ns) const

View File

@@ -51,9 +51,9 @@ public:
get_with_namespace(const std::string &name, const namespace_ &ns) const;
diagram(const diagram &) = delete;
diagram(diagram &&);
diagram(diagram &&) noexcept;
diagram &operator=(const diagram &) = delete;
diagram &operator=(diagram &&);
diagram &operator=(diagram &&) noexcept;
void set_name(const std::string &name);
std::string name() const;

View File

@@ -30,10 +30,10 @@ public:
nested_trait() = default;
nested_trait(const nested_trait &) = delete;
nested_trait(nested_trait &&) = default;
nested_trait(nested_trait &&) noexcept = default;
nested_trait &operator=(const nested_trait &) = delete;
nested_trait &operator=(nested_trait &&) = default;
nested_trait &operator=(nested_trait &&) noexcept = default;
virtual ~nested_trait() = default;

View File

@@ -51,7 +51,7 @@ public:
path(path &&right) noexcept = default;
path &operator=(path &&right) = default;
path &operator=(path &&right) noexcept = default;
path(std::initializer_list<std::string> ns)
{