aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments
diff options
context:
space:
mode:
authorAvatar Wouter van Kesteren <woutershep@gmail.com> 2015-05-08 05:12:20 +0200
committerAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2015-08-21 17:19:40 +0200
commit82a9e92b64b79eb2db0047bead68f227c9c31e24 (patch)
tree4a924d622b732b2e5ad9c961b512934a83b8bd1f /paludis/environments
parente6dfb43fcbb0a760777376611035485c352e85ae (diff)
downloadpaludis-82a9e92b64b79eb2db0047bead68f227c9c31e24.tar.gz
paludis-82a9e92b64b79eb2db0047bead68f227c9c31e24.tar.xz
throw() -> noexcept
Change-Id: I461abfda8b7297c1bd04f1090f8d58fa96364616 Reviewed-on: https://galileo.mailstation.de/gerrit/1892 Reviewed-by: Saleem Abdulrasool <compnerd@compnerd.org> Reviewed-by: Kylie McClain <somasis@exherbo.org>
Diffstat (limited to 'paludis/environments')
-rw-r--r--paludis/environments/paludis/paludis_config.cc4
-rw-r--r--paludis/environments/paludis/paludis_config.hh4
-rw-r--r--paludis/environments/portage/portage_environment.cc2
-rw-r--r--paludis/environments/portage/portage_environment.hh2
4 files changed, 6 insertions, 6 deletions
diff --git a/paludis/environments/paludis/paludis_config.cc b/paludis/environments/paludis/paludis_config.cc
index 0af9c81a3..bf542005d 100644
--- a/paludis/environments/paludis/paludis_config.cc
+++ b/paludis/environments/paludis/paludis_config.cc
@@ -361,12 +361,12 @@ namespace paludis
};
}
-PaludisConfigError::PaludisConfigError(const std::string & msg) throw () :
+PaludisConfigError::PaludisConfigError(const std::string & msg) noexcept :
ConfigurationError("Paludis configuration error: " + msg)
{
}
-PaludisConfigNoDirectoryError::PaludisConfigNoDirectoryError(const std::string & msg) throw () :
+PaludisConfigNoDirectoryError::PaludisConfigNoDirectoryError(const std::string & msg) noexcept :
PaludisConfigError("Paludis configuration error: " + msg)
{
}
diff --git a/paludis/environments/paludis/paludis_config.hh b/paludis/environments/paludis/paludis_config.hh
index 539ab8830..03fcd8160 100644
--- a/paludis/environments/paludis/paludis_config.hh
+++ b/paludis/environments/paludis/paludis_config.hh
@@ -66,7 +66,7 @@ namespace paludis
/**
* Constructor.
*/
- PaludisConfigError(const std::string & msg) throw ();
+ PaludisConfigError(const std::string & msg) noexcept;
};
/**
@@ -84,7 +84,7 @@ namespace paludis
///\name Basic operations
///\{
- PaludisConfigNoDirectoryError(const std::string & msg) throw ();
+ PaludisConfigNoDirectoryError(const std::string & msg) noexcept;
///\}
};
diff --git a/paludis/environments/portage/portage_environment.cc b/paludis/environments/portage/portage_environment.cc
index 6239dd088..4563d395c 100644
--- a/paludis/environments/portage/portage_environment.cc
+++ b/paludis/environments/portage/portage_environment.cc
@@ -80,7 +80,7 @@ typedef std::list<std::pair<std::shared_ptr<const PackageDepSpec>, std::string>
typedef std::list<std::shared_ptr<const PackageDepSpec> > PackageMask;
typedef std::list<std::shared_ptr<const PackageDepSpec> > PackageUnmask;
-PortageEnvironmentConfigurationError::PortageEnvironmentConfigurationError(const std::string & s) throw () :
+PortageEnvironmentConfigurationError::PortageEnvironmentConfigurationError(const std::string & s) noexcept :
ConfigurationError(s)
{
}
diff --git a/paludis/environments/portage/portage_environment.hh b/paludis/environments/portage/portage_environment.hh
index 7030dab23..4794ba65f 100644
--- a/paludis/environments/portage/portage_environment.hh
+++ b/paludis/environments/portage/portage_environment.hh
@@ -42,7 +42,7 @@ namespace paludis
///\name Basic operations
///\{
- PortageEnvironmentConfigurationError(const std::string &) throw ();
+ PortageEnvironmentConfigurationError(const std::string &) noexcept;
///\}
};