Skip to content
This repository was archived by the owner on Mar 9, 2019. It is now read-only.

Commit 91dfedd

Browse files
committed
cleaned up the run_test template sig in main
1 parent 2839bc8 commit 91dfedd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,11 @@ producer_func(
4444
}
4545
}
4646

47-
template<typename P,
48-
typename C>
47+
template<typename T>
4948
long double
5049
run_test(
51-
P producer_func,
52-
C consumer_func)
50+
T producer_func,
51+
T consumer_func)
5352
{
5453
typedef std::chrono::high_resolution_clock clock_t;
5554
typedef std::chrono::time_point<clock_t> time_t;

0 commit comments

Comments
 (0)