[QUEUED scylladb next] exceptions: Mark storage_io_error::code() with noexcept

0 views
Skip to first unread message

Commit Bot

<bot@cloudius-systems.com>
unread,
Oct 4, 2022, 1:54:34 AM10/4/22
to scylladb-dev@googlegroups.com, Pavel Emelyanov
From: Pavel Emelyanov <xe...@scylladb.com>
Committer: Pavel Emelyanov <xe...@scylladb.com>
Branch: next

exceptions: Mark storage_io_error::code() with noexcept

Signed-off-by: Pavel Emelyanov <xe...@scylladb.com>

---
diff --git a/utils/exceptions.hh b/utils/exceptions.hh
--- a/utils/exceptions.hh
+++ b/utils/exceptions.hh
@@ -52,7 +52,7 @@ public:
return _what.c_str();
}

- const std::error_code& code() const { return _code; }
+ const std::error_code& code() const noexcept { return _code; }
};

// Rethrow exception if not null

Commit Bot

<bot@cloudius-systems.com>
unread,
Oct 4, 2022, 8:23:52 AM10/4/22
to scylladb-dev@googlegroups.com, Pavel Emelyanov
From: Pavel Emelyanov <xe...@scylladb.com>
Committer: Pavel Emelyanov <xe...@scylladb.com>
Branch: master

Commit Bot

<bot@cloudius-systems.com>
unread,
Oct 13, 2022, 8:37:44 AM10/13/22
to scylladb-dev@googlegroups.com, Pavel Emelyanov
From: Pavel Emelyanov <xe...@scylladb.com>
Committer: Pavel Emelyanov <xe...@scylladb.com>
Branch: next-5.1

Commit Bot

<bot@cloudius-systems.com>
unread,
Oct 13, 2022, 8:58:44 AM10/13/22
to scylladb-dev@googlegroups.com, Pavel Emelyanov
From: Pavel Emelyanov <xe...@scylladb.com>
Committer: Pavel Emelyanov <xe...@scylladb.com>
Branch: next-5.0

exceptions: Mark storage_io_error::code() with noexcept

Signed-off-by: Pavel Emelyanov <xe...@scylladb.com>

---
diff --git a/utils/exceptions.hh b/utils/exceptions.hh
--- a/utils/exceptions.hh
+++ b/utils/exceptions.hh
@@ -36,5 +36,5 @@ public:

Commit Bot

<bot@cloudius-systems.com>
unread,
Oct 13, 2022, 9:02:56 AM10/13/22
to scylladb-dev@googlegroups.com, Pavel Emelyanov
From: Pavel Emelyanov <xe...@scylladb.com>
Committer: Pavel Emelyanov <xe...@scylladb.com>
Branch: next-4.6

exceptions: Mark storage_io_error::code() with noexcept

Signed-off-by: Pavel Emelyanov <xe...@scylladb.com>

---
diff --git a/utils/exceptions.hh b/utils/exceptions.hh
--- a/utils/exceptions.hh
+++ b/utils/exceptions.hh
@@ -49,5 +49,5 @@ public:

Commit Bot

<bot@cloudius-systems.com>
unread,
Oct 13, 2022, 4:09:29 PM10/13/22
to scylladb-dev@googlegroups.com, Pavel Emelyanov
From: Pavel Emelyanov <xe...@scylladb.com>
Committer: Pavel Emelyanov <xe...@scylladb.com>
Branch: branch-5.0

exceptions: Mark storage_io_error::code() with noexcept

Signed-off-by: Pavel Emelyanov <xe...@scylladb.com>

---
diff --git a/utils/exceptions.hh b/utils/exceptions.hh
--- a/utils/exceptions.hh
+++ b/utils/exceptions.hh
@@ -36,5 +36,5 @@ public:

Commit Bot

<bot@cloudius-systems.com>
unread,
Oct 13, 2022, 5:31:50 PM10/13/22
to scylladb-dev@googlegroups.com, Pavel Emelyanov
From: Pavel Emelyanov <xe...@scylladb.com>
Committer: Pavel Emelyanov <xe...@scylladb.com>
Branch: branch-5.1

exceptions: Mark storage_io_error::code() with noexcept

Signed-off-by: Pavel Emelyanov <xe...@scylladb.com>

---
diff --git a/utils/exceptions.hh b/utils/exceptions.hh
--- a/utils/exceptions.hh
+++ b/utils/exceptions.hh
@@ -52,7 +52,7 @@ public:
return _what.c_str();
}

- const std::error_code& code() const { return _code; }
+ const std::error_code& code() const noexcept { return _code; }
};

Commit Bot

<bot@cloudius-systems.com>
unread,
Oct 13, 2022, 6:10:49 PM10/13/22
to scylladb-dev@googlegroups.com, Pavel Emelyanov
From: Pavel Emelyanov <xe...@scylladb.com>
Committer: Pavel Emelyanov <xe...@scylladb.com>
Branch: branch-4.6

exceptions: Mark storage_io_error::code() with noexcept

Signed-off-by: Pavel Emelyanov <xe...@scylladb.com>

---
diff --git a/utils/exceptions.hh b/utils/exceptions.hh
--- a/utils/exceptions.hh
+++ b/utils/exceptions.hh
@@ -49,5 +49,5 @@ public:
Reply all
Reply to author
Forward
0 new messages