aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis
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/paludis
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/paludis')
-rw-r--r--paludis/environments/paludis/paludis_config.cc4
-rw-r--r--paludis/environments/paludis/paludis_config.hh4
2 files changed, 4 insertions, 4 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;
///\}
};