Skip to content
Open
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/libp2p/basic/scheduler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ namespace libp2p::basic {
* @param cb callback
* @param delay_from_now time interval, zero for deferring
* @param make_handle if true, then active Handle is returned
* @return actie or empty Handle, depending on make_handle argument
* @return active or empty Handle, depending on make_handle argument
*/
virtual Handle scheduleImpl(Callback &&cb,
std::chrono::milliseconds delay_from_now,
Expand Down
2 changes: 1 addition & 1 deletion include/libp2p/common/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace libp2p {

template <class T>
concept SpanOfBytes = std::is_same_v<std::decay_t<T>, BytesIn>
or std::is_same_v<std::decay_t<T>, BytesIn>;
or std::is_same_v<std::decay_t<T>, BytesOut>;

inline bool operator==(const SpanOfBytes auto &lhs,
const SpanOfBytes auto &rhs) {
Expand Down