This repository was archived by the owner on Jul 31, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +10
-5
lines changed
Expand file tree Collapse file tree 7 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ cc_library(
5454 name = "string_vector_hash" ,
5555 hdrs = ["string_vector_hash.h" ],
5656 copts = DEFAULT_COPTS ,
57+ deps = [":hash_mix" ],
5758)
5859
5960# Tests
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ cc_test(
4040 copts = TEST_COPTS ,
4141 deps = [
4242 ":status" ,
43+ "@com_github_grpc_grpc//:grpc++" ,
4344 "@com_google_googletest//:gtest_main" ,
4445 ],
4546)
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ uint64_t Generator::Random64() {
2727}
2828
2929Random* Random::GetRandom () {
30- static Random* global_random = new Random;
30+ static auto * const global_random = new Random;
3131 return global_random;
3232}
3333
Original file line number Diff line number Diff line change 1515#ifndef OPENCENSUS_COMMON_INTERNAL_STATS_OBJECT_H_
1616#define OPENCENSUS_COMMON_INTERNAL_STATS_OBJECT_H_
1717
18- #include < math.h>
19- #include < stddef.h>
2018#include < algorithm>
19+ #include < cmath>
20+ #include < cstddef>
2121#include < cstdint>
2222#include < iostream>
2323#include < limits>
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ cc_library(
3636 deps = [
3737 "//opencensus/tags" ,
3838 "//opencensus/trace" ,
39+ "@com_google_absl//absl/strings" ,
3940 ],
4041)
4142
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ cc_library(
2727 "internal/aggregation_window.h" ,
2828 "internal/set_aggregation_window.h" ,
2929 "stats.h" ,
30+ "stats_exporter.h" ,
3031 ],
3132 copts = DEFAULT_COPTS ,
3233 visibility = ["//visibility:public" ],
@@ -116,6 +117,7 @@ cc_library(
116117 copts = DEFAULT_COPTS ,
117118 deps = [
118119 ":core" ,
120+ "//opencensus/tags" ,
119121 "@com_google_absl//absl/strings" ,
120122 "@com_google_absl//absl/time" ,
121123 ],
@@ -201,7 +203,7 @@ cc_test(
201203 ":core" ,
202204 ":recording" ,
203205 ":test_utils" ,
204- "@com_google_absl//absl/types:optional " ,
206+ "//opencensus/tags " ,
205207 "@com_google_googletest//:gtest_main" ,
206208 ],
207209)
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ cc_test(
219219 copts = TEST_COPTS ,
220220 deps = [
221221 ":trace" ,
222- "@com_google_absl//absl/synchronization " ,
222+ "@com_google_absl//absl/strings " ,
223223 "@com_google_googletest//:gtest_main" ,
224224 ],
225225)
You can’t perform that action at this time.
0 commit comments