authorgravatar for quae@daurnimator.comdaurnimator <quae@daurnimator.com> 2019-11-17 14:08:52+11:00
committergravatar for quae@daurnimator.comdaurnimator <quae@daurnimator.com> 2019-11-17 14:14:57+11:00
log41c72bb54cf2a62bd54e58459d25cee5cf60bbcc
treed661a0a8b1af96ade2c16ba4df6ad3d29330d04f
parentcc76494c428599b769049eeb66fd7c877039068b
signaturelock-open Commit is signed but in an unrecognized format.

std: fix use of old syntax in std.valgrind.memcheck


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/valgrind/memcheck.zig+2-2
...@@ -125,7 +125,7 @@ const CountResult = struct {...@@ -125,7 +125,7 @@ const CountResult = struct {
125};125};
126126
127pub fn countLeaks() CountResult {127pub fn countLeaks() CountResult {
128 var res = CountResult{128 var res: CountResult = .{
129 .leaked = 0,129 .leaked = 0,
130 .dubious = 0,130 .dubious = 0,
131 .reachable = 0,131 .reachable = 0,
...@@ -136,7 +136,7 @@ pub fn countLeaks() CountResult {...@@ -136,7 +136,7 @@ pub fn countLeaks() CountResult {
136}136}
137137
138pub fn countLeakBlocks() CountResult {138pub fn countLeakBlocks() CountResult {
139 var res = CountResult{139 var res: CountResult = .{
140 .leaked = 0,140 .leaked = 0,
141 .dubious = 0,141 .dubious = 0,
142 .reachable = 0,142 .reachable = 0,