Skip to content

Commit 5969c41

Browse files
committed
BENCHMARK_EXPORT position fixed
1 parent ae39f30 commit 5969c41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/benchmark/benchmark.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ inline BENCHMARK_ALWAYS_INLINE State::StateIterator State::end() {
10941094
}
10951095

10961096
// Base class for user-defined multi-threading
1097-
struct ThreadRunnerBase {
1097+
struct BENCHMARK_EXPORT ThreadRunnerBase {
10981098
virtual ~ThreadRunnerBase() {}
10991099
virtual void RunThreads(const std::function<void(int)>& fn) = 0;
11001100
};

src/benchmark_runner.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ IterationCount ComputeIters(const benchmark::internal::BenchmarkInstance& b,
183183
return iters_or_time.iters;
184184
}
185185

186-
class BENCHMARK_EXPORT ThreadRunnerDefault : public ThreadRunnerBase {
186+
class ThreadRunnerDefault : public ThreadRunnerBase {
187187
public:
188188
explicit ThreadRunnerDefault(int num_threads)
189189
: pool(static_cast<size_t>(num_threads - 1)) {}

0 commit comments

Comments
 (0)