google / benchmark

A microbenchmark support library
Apache License 2.0
8.61k stars 1.57k forks source link

Typofix to unbreak OpenBSD build #1654

Closed klemensn closed 10 months ago

klemensn commented 10 months ago
/usr/ports/pobj/benchmark-1.8.2/benchmark-1.8.2/src/sysinfo.cc:161:43: error: no member named 'Size' in 'benchmark::(anonymous namespace)::ValueUnion'; did you mean 'size'?
    if (sysctl(mib, 2, buff.data(), &buff.Size, nullptr, 0) == -1) {
                                          ^~~~
                                          size
/usr/ports/pobj/benchmark-1.8.2/benchmark-1.8.2/src/sysinfo.cc:111:15: note: 'size' declared here
  std::size_t size;
              ^
1 error generated.
google-cla[bot] commented 10 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.