Skip to content

Commit

Permalink
refactor: avoid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
yulon committed Sep 8, 2023
1 parent ddb338d commit 98b04de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/rua/io/util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class read_group : public stream_base {
read_group(std::initializer_list<stream_i> r_li, size_t buf_sz = 1024) :
read_group(buf_sz) {
for (auto &r : r_li) {
add(std::move(r));
add(r);
}
}

Expand Down
3 changes: 3 additions & 0 deletions include/rua/sync/promise.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ class promise<T, void> {
notify();
break;
}

default:
break;
}
}

Expand Down

0 comments on commit 98b04de

Please sign in to comment.