Skip to content

Commit

Permalink
style changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon Markiewicz committed Jun 7, 2024
1 parent 2c27b76 commit 7360e16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homework/schedule/schedule.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <thread>

template <typename Func, typename... A>
void schedule( Func func, std::chrono::seconds sec, A... a ){
std::this_thread::sleep_for( sec );
void schedule(Func func, std::chrono::seconds sec, A... a){
std::this_thread::sleep_for(sec);
func(a...);
}

0 comments on commit 7360e16

Please sign in to comment.