Commit cc04c0e0 by Dino Radakovic Committed by Copybara-Service

Rename function_ref_benchmark.cc into more generic function_type_benchmark.cc, add missing includes

PiperOrigin-RevId: 446209567
Change-Id: I9aac8ce10b93ed71f1260931995af1d32db6f780
parent d29393ce
...@@ -78,9 +78,9 @@ cc_test( ...@@ -78,9 +78,9 @@ cc_test(
) )
cc_test( cc_test(
name = "function_ref_benchmark", name = "function_type_benchmark",
srcs = [ srcs = [
"function_ref_benchmark.cc", "function_type_benchmark.cc",
], ],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
tags = ["benchmark"], tags = ["benchmark"],
......
// Copyright 2019 The Abseil Authors. // Copyright 2022 The Abseil Authors.
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
...@@ -12,12 +12,13 @@ ...@@ -12,12 +12,13 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "absl/functional/function_ref.h" #include <functional>
#include <memory> #include <memory>
#include <string>
#include "benchmark/benchmark.h" #include "benchmark/benchmark.h"
#include "absl/base/attributes.h" #include "absl/base/attributes.h"
#include "absl/functional/function_ref.h"
namespace absl { namespace absl {
ABSL_NAMESPACE_BEGIN ABSL_NAMESPACE_BEGIN
......
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