Skip to content

Commit e654b29

Browse files
committed
clang-tidy: replace throw() with noexcept
Signed-off-by: Rosen Penev <[email protected]>
1 parent 1f05448 commit e654b29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/image_int.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ std::ostream& operator<<(std::ostream& stream, const binaryToStringHelper<T>& bi
6262

6363
template <typename T>
6464
struct binaryToStringHelper {
65-
explicit binaryToStringHelper(const Slice<T> myBuf) throw() : buf_(myBuf) {
65+
explicit binaryToStringHelper(const Slice<T> myBuf) noexcept : buf_(myBuf) {
6666
}
6767

6868
friend std::ostream& operator<<<T>(std::ostream& stream, const binaryToStringHelper<T>& binToStr);
@@ -95,7 +95,7 @@ struct binaryToStringHelper {
9595
* the stream throws neither.
9696
*/
9797
template <typename T>
98-
inline binaryToStringHelper<T> binaryToString(const Slice<T> sl) throw() {
98+
inline binaryToStringHelper<T> binaryToString(const Slice<T> sl) noexcept {
9999
return binaryToStringHelper<T>(sl);
100100
}
101101

0 commit comments

Comments
 (0)