Skip to content

Commit bffbd0b

Browse files
committed
Moved threadrunner_factory to internal namespace
1 parent f85a625 commit bffbd0b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/benchmark/benchmark.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,12 +1099,12 @@ struct ThreadRunnerBase {
10991099
virtual void RunThreads(const std::function<void(int)>& fn) = 0;
11001100
};
11011101

1102+
namespace internal {
1103+
11021104
// Define alias of ThreadRunner factory function type
11031105
using threadrunner_factory =
11041106
std::function<std::unique_ptr<ThreadRunnerBase>(int)>;
11051107

1106-
namespace internal {
1107-
11081108
typedef void(Function)(State&);
11091109

11101110
// ------------------------------------------------------

0 commit comments

Comments
 (0)