Unverified Commit 3d1c2677 by Sergei Trofimovich Committed by GitHub

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(); | ^~~~~~~~~~~~~~ ```
parent af72911f
#ifndef BENCHMARK_REGISTER_H
#define BENCHMARK_REGISTER_H
#include <limits>
#include <vector>
#include "check.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment