Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/scl/math/array.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class Array final {
* This function will attempt to construct a \p T element using \p value, and
* then fill all slots with this value.
*/
explicit Array(int value) : Array(T{value}) {};
explicit Array(int value) : Array(T{value}) {}

/**
* @brief Copy construct an Array from another array.
Expand Down
12 changes: 6 additions & 6 deletions include/scl/net/tcp_channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ coro::Task<void> TcpChannel<SYS>::send(const Packet& packet) {
} else {
throw std::system_error(err, std::generic_category(), "send failed");
}
} else {
rem -= written;
data += written;
}

rem -= written;
data += written;
}
}

Expand All @@ -178,10 +178,10 @@ coro::Task<void> recvInto(SocketType socket,
} else {
throw std::system_error(err, std::generic_category(), "recv failed");
}
} else {
rem -= read;
dst += read;
}

rem -= read;
dst += read;
}
}

Expand Down