summaryrefslogtreecommitdiffstats
path: root/src/lib/io/XIO.cpp
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2020-07-21 06:15:04 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2020-07-21 06:15:04 -0400
commitfbc30002ab3438356c0476e70c4577a0310d52c0 (patch)
tree62b4c241ad0b2a65b0e430b9f7710ed944d30fb1 /src/lib/io/XIO.cpp
parentdff8b887edf10407f22aaab9d147948cd5491f0a (diff)
New upstream version 2.3.3+dfsg.upstream/2.3.3+dfsg
Diffstat (limited to 'src/lib/io/XIO.cpp')
-rw-r--r--src/lib/io/XIO.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/io/XIO.cpp b/src/lib/io/XIO.cpp
index 1299d23..911fa87 100644
--- a/src/lib/io/XIO.cpp
+++ b/src/lib/io/XIO.cpp
@@ -22,8 +22,7 @@
// XIOClosed
//
-String
-XIOClosed::getWhat() const throw()
+std::string XIOClosed::getWhat() const noexcept
{
return format("XIOClosed", "already closed");
}
@@ -33,8 +32,7 @@ XIOClosed::getWhat() const throw()
// XIOEndOfStream
//
-String
-XIOEndOfStream::getWhat() const throw()
+std::string XIOEndOfStream::getWhat() const noexcept
{
return format("XIOEndOfStream", "reached end of stream");
}
@@ -44,8 +42,7 @@ XIOEndOfStream::getWhat() const throw()
// XIOWouldBlock
//
-String
-XIOWouldBlock::getWhat() const throw()
+std::string XIOWouldBlock::getWhat() const noexcept
{
return format("XIOWouldBlock", "stream operation would block");
}