summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/benchmarks/function.bench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/benchmarks/function.bench.cpp b/libcxx/benchmarks/function.bench.cpp
index 484d1973fd5..4f0e1fd80fa 100644
--- a/libcxx/benchmarks/function.bench.cpp
+++ b/libcxx/benchmarks/function.bench.cpp
@@ -48,7 +48,7 @@ struct AllOpacity : EnumValuesAsTuple<AllOpacity, Opacity, 2> {
struct S {
int function() const { return 0; }
- int field;
+ int field = 0;
};
int FunctionWithS(const S*) { return 0; }
OpenPOWER on IntegriCloud