Commit 71ed3cfd022d6661a51b7baceb8b953f91902d89
1 parent
a0467aa2
Remove unnecessary friend declaration
submit_command_callback
Showing
1 changed file
with
0 additions
and
5 deletions
src/command.hpp
| @@ -26,15 +26,10 @@ static const int REDOX_TIMEOUT = 5; | @@ -26,15 +26,10 @@ static const int REDOX_TIMEOUT = 5; | ||
| 26 | class Redox; | 26 | class Redox; |
| 27 | 27 | ||
| 28 | template<class ReplyT> | 28 | template<class ReplyT> |
| 29 | -void submit_command_callback(struct ev_loop* loop, ev_timer* timer, int revents); | ||
| 30 | - | ||
| 31 | -template<class ReplyT> | ||
| 32 | class Command { | 29 | class Command { |
| 33 | 30 | ||
| 34 | friend class Redox; | 31 | friend class Redox; |
| 35 | 32 | ||
| 36 | -friend void submit_command_callback<ReplyT>(struct ev_loop* loop, ev_timer* timer, int revents); | ||
| 37 | - | ||
| 38 | public: | 33 | public: |
| 39 | Command( | 34 | Command( |
| 40 | Redox* rdx, | 35 | Redox* rdx, |