Commit 23e973c
committed
fix(async): remove unused io_context reference from asio_net_service
- remove unused private field ctx_ to eliminate -Wunused-private-field warning
- simplify constructor by removing unnecessary member initialization
- keep API consistent while aligning implementation with actual usage
improves design clarity and ensures clean build with strict warnings1 parent 77a599c commit 23e973c
2 files changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
0 commit comments