aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Wouter van Kesteren <woutershep@gmail.com> 2015-05-08 05:20:35 +0200
committerAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2015-08-21 17:20:58 +0200
commitb264c701406905a0e54f4f67ad9c49e0d9e40312 (patch)
tree1604d95e62829250aff4511f2973be1530b91341
parent82a9e92b64b79eb2db0047bead68f227c9c31e24 (diff)
downloadpaludis-b264c701406905a0e54f4f67ad9c49e0d9e40312.tar.gz
paludis-b264c701406905a0e54f4f67ad9c49e0d9e40312.tar.xz
noexcept is default for destructors
Change-Id: I9be4610510c6f38925cb2f9a02906a67a462672f Reviewed-on: https://galileo.mailstation.de/gerrit/1893 Reviewed-by: Saleem Abdulrasool <compnerd@compnerd.org> Reviewed-by: Kylie McClain <somasis@exherbo.org>
-rw-r--r--paludis/environment.cc4
-rw-r--r--paludis/environment.hh6
-rw-r--r--paludis/repository.cc4
-rw-r--r--paludis/repository.hh4
-rw-r--r--paludis/resolver/suggest_restart.cc2
-rw-r--r--paludis/resolver/suggest_restart.hh2
-rw-r--r--paludis/util/exception.cc2
-rw-r--r--paludis/util/exception.hh2
-rw-r--r--paludis/util/graph.cc2
-rw-r--r--paludis/util/graph.hh2
10 files changed, 15 insertions, 15 deletions
diff --git a/paludis/environment.cc b/paludis/environment.cc
index 6202713..b1d1698 100644
--- a/paludis/environment.cc
+++ b/paludis/environment.cc
@@ -67,7 +67,7 @@ NoSuchRepositoryError::NoSuchRepositoryError(const RepositoryName & n) noexcept
{
}
-NoSuchRepositoryError::~NoSuchRepositoryError() noexcept
+NoSuchRepositoryError::~NoSuchRepositoryError()
{
}
@@ -100,7 +100,7 @@ AmbiguousPackageNameError::AmbiguousPackageNameError(const AmbiguousPackageNameE
_name_data->names = other._name_data->names;
}
-AmbiguousPackageNameError::~AmbiguousPackageNameError() noexcept
+AmbiguousPackageNameError::~AmbiguousPackageNameError()
{
delete _name_data;
}
diff --git a/paludis/environment.hh b/paludis/environment.hh
index 00f6c9a..dd92c97 100644
--- a/paludis/environment.hh
+++ b/paludis/environment.hh
@@ -78,7 +78,7 @@ namespace paludis
AmbiguousPackageNameError(const AmbiguousPackageNameError &);
- virtual ~AmbiguousPackageNameError() noexcept;
+ virtual ~AmbiguousPackageNameError();
///\}
@@ -134,7 +134,7 @@ namespace paludis
NoSuchPackageError(const std::string & name) noexcept;
- virtual ~NoSuchPackageError() noexcept
+ virtual ~NoSuchPackageError()
{
}
@@ -168,7 +168,7 @@ namespace paludis
NoSuchRepositoryError(const RepositoryName &) noexcept;
- ~NoSuchRepositoryError() noexcept;
+ ~NoSuchRepositoryError();
///\}
diff --git a/paludis/repository.cc b/paludis/repository.cc
index a229214..6e0cc7e 100644
--- a/paludis/repository.cc
+++ b/paludis/repository.cc
@@ -51,7 +51,7 @@ NoSuchSetError::NoSuchSetError(const std::string & our_name) noexcept :
{
}
-NoSuchSetError::~NoSuchSetError() noexcept
+NoSuchSetError::~NoSuchSetError()
{
}
@@ -61,7 +61,7 @@ RecursivelyDefinedSetError::RecursivelyDefinedSetError(const std::string & our_n
{
}
-RecursivelyDefinedSetError::~RecursivelyDefinedSetError() noexcept
+RecursivelyDefinedSetError::~RecursivelyDefinedSetError()
{
}
diff --git a/paludis/repository.hh b/paludis/repository.hh
index d208a20..358e79b 100644
--- a/paludis/repository.hh
+++ b/paludis/repository.hh
@@ -197,7 +197,7 @@ namespace paludis
NoSuchSetError(const std::string & name) noexcept;
- virtual ~NoSuchSetError() noexcept;
+ virtual ~NoSuchSetError();
///\}
@@ -226,7 +226,7 @@ namespace paludis
RecursivelyDefinedSetError(const std::string & name) noexcept;
- virtual ~RecursivelyDefinedSetError() noexcept;
+ virtual ~RecursivelyDefinedSetError();
///\}
diff --git a/paludis/resolver/suggest_restart.cc b/paludis/resolver/suggest_restart.cc
index c838c54..c06fb08 100644
--- a/paludis/resolver/suggest_restart.cc
+++ b/paludis/resolver/suggest_restart.cc
@@ -70,7 +70,7 @@ SuggestRestart::SuggestRestart(const SuggestRestart & o) :
{
}
-SuggestRestart::~SuggestRestart() noexcept
+SuggestRestart::~SuggestRestart()
{
}
diff --git a/paludis/resolver/suggest_restart.hh b/paludis/resolver/suggest_restart.hh
index c1eb5d0..3c2d453 100644
--- a/paludis/resolver/suggest_restart.hh
+++ b/paludis/resolver/suggest_restart.hh
@@ -46,7 +46,7 @@ namespace paludis
const std::shared_ptr<const Decision> & new_decision,
const std::shared_ptr<const Constraint> & suggested_preset) noexcept;
SuggestRestart(const SuggestRestart &);
- ~SuggestRestart() noexcept;
+ ~SuggestRestart();
const Resolvent resolvent() const PALUDIS_ATTRIBUTE((warn_unused_result));
const std::shared_ptr<const Decision> previous_decision() const PALUDIS_ATTRIBUTE((warn_unused_result));
diff --git a/paludis/util/exception.cc b/paludis/util/exception.cc
index b6b1fa7..391f1e4 100644
--- a/paludis/util/exception.cc
+++ b/paludis/util/exception.cc
@@ -98,7 +98,7 @@ Exception::Exception(const Exception & other) :
{
}
-Exception::~Exception() noexcept
+Exception::~Exception()
{
delete _context_data;
}
diff --git a/paludis/util/exception.hh b/paludis/util/exception.hh
index 8a02062..9b6674b 100644
--- a/paludis/util/exception.hh
+++ b/paludis/util/exception.hh
@@ -96,7 +96,7 @@ namespace paludis
///\name Basic operations
///\{
- virtual ~Exception() noexcept PALUDIS_ATTRIBUTE((nothrow));
+ virtual ~Exception() PALUDIS_ATTRIBUTE((nothrow));
///\}
diff --git a/paludis/util/graph.cc b/paludis/util/graph.cc
index fcf2959..a01a00a 100644
--- a/paludis/util/graph.cc
+++ b/paludis/util/graph.cc
@@ -40,7 +40,7 @@ NoGraphTopologicalOrderExistsError::remaining_nodes() const
return _remaining_nodes;
}
-NoGraphTopologicalOrderExistsError::~NoGraphTopologicalOrderExistsError() noexcept
+NoGraphTopologicalOrderExistsError::~NoGraphTopologicalOrderExistsError()
{
}
diff --git a/paludis/util/graph.hh b/paludis/util/graph.hh
index b2b259f..1becae9 100644
--- a/paludis/util/graph.hh
+++ b/paludis/util/graph.hh
@@ -130,7 +130,7 @@ namespace paludis
///\{
NoGraphTopologicalOrderExistsError(const std::shared_ptr<const RemainingNodes> &) noexcept;
- ~NoGraphTopologicalOrderExistsError() noexcept;
+ ~NoGraphTopologicalOrderExistsError();
///\}