From c6ca403f2f85df1fede372f8696218755bdc7259 Mon Sep 17 00:00:00 2001 From: Bartek Kryza Date: Sun, 12 Jun 2022 15:19:42 +0200 Subject: [PATCH] Fix compilation on GCC 9 --- packaging/debian/control.bionic | 18 ------------------ src/common/model/path.h | 4 ++-- 2 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 packaging/debian/control.bionic diff --git a/packaging/debian/control.bionic b/packaging/debian/control.bionic deleted file mode 100644 index 436d762f..00000000 --- a/packaging/debian/control.bionic +++ /dev/null @@ -1,18 +0,0 @@ -Source: clang-uml -Maintainer: Bartek Kryza -Section: devel -Priority: optional -Build-Depends: debhelper, make, gcc-8, g++-8, cmake (>= 3.10), libyaml-cpp-dev, clang-10, libclang-10-dev, libclang-cpp10-dev -Standards-Version: 4.3.0 -Vcs-Browser: https://github.com/bkryza/clang-uml -Vcs-Git: https://github.com/bkryza/clang-uml.git -Homepage: https://github.com/bkryza/clang-uml - -Package: clang-uml -Architecture: any -Section: utils -Depends: ${misc:Depends}, ${shlibs:Depends} -Pre-Depends: ${misc:Pre-Depends} -Description: Automatic C++ UML diagram generator based on Clang. - . - This package provides the clang-uml binary. diff --git a/src/common/model/path.h b/src/common/model/path.h index 44571bb3..c447f384 100644 --- a/src/common/model/path.h +++ b/src/common/model/path.h @@ -41,11 +41,11 @@ public: path(const path &right) { path_ = right.path_; } - path &operator=(const path &right) noexcept = default; + path &operator=(const path &right) = default; path(path &&right) noexcept = default; - path &operator=(path &&right) noexcept = default; + path &operator=(path &&right) = default; path(std::initializer_list ns) {