Skip to content

Commit

Permalink
remove friend operator
Browse files Browse the repository at this point in the history
Seems to be unused. It's also inconsistent between various clang-format
versions.

Signed-off-by: Rosen Penev <[email protected]>
  • Loading branch information
neheb committed Jul 22, 2022
1 parent 94f8889 commit 1762105
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/image_int.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ struct binaryToStringHelper {
explicit binaryToStringHelper(const Slice<T> myBuf) noexcept : buf_(myBuf) {
}

friend std::ostream& operator<<<T>(std::ostream& stream, const binaryToStringHelper<T>& binToStr);

// the Slice is stored by value to avoid dangling references, in case we
// invoke:
// binaryToString(makeSlice(buf, 0, n));
Expand Down

0 comments on commit 1762105

Please sign in to comment.