mirror of https://github.com/google/benchmark.git
src/benchmark_register.h: add missing <limits> inclusion (#1060)
Noticed missing header when was building llvm with gcc-11: ``` llvm-project/llvm/utils/benchmark/src/benchmark_register.h:17:30: error: 'numeric_limits' is not a member of 'std' 17 | static const T kmax = std::numeric_limits<T>::max(); | ^~~~~~~~~~~~~~ ```
This commit is contained in:
parent
af72911f2f
commit
3d1c267768
|
@ -1,6 +1,7 @@
|
|||
#ifndef BENCHMARK_REGISTER_H
|
||||
#define BENCHMARK_REGISTER_H
|
||||
|
||||
#include <limits>
|
||||
#include <vector>
|
||||
|
||||
#include "check.h"
|
||||
|
|
Loading…
Reference in New Issue