std: fix use of old syntax in std.valgrind.memcheck
parent
cc76494c42
commit
41c72bb54c
|
@ -125,7 +125,7 @@ const CountResult = struct {
|
|||
};
|
||||
|
||||
pub fn countLeaks() CountResult {
|
||||
var res = CountResult{
|
||||
var res: CountResult = .{
|
||||
.leaked = 0,
|
||||
.dubious = 0,
|
||||
.reachable = 0,
|
||||
|
@ -136,7 +136,7 @@ pub fn countLeaks() CountResult {
|
|||
}
|
||||
|
||||
pub fn countLeakBlocks() CountResult {
|
||||
var res = CountResult{
|
||||
var res: CountResult = .{
|
||||
.leaked = 0,
|
||||
.dubious = 0,
|
||||
.reachable = 0,
|
||||
|
|
Loading…
Reference in New Issue