aboutsummaryrefslogtreecommitdiff
path: root/lib/std/hash/benchmark.zig
diff options
context:
space:
mode:
authorLee Cannon <leecannon@leecannon.xyz>2021-10-29 02:08:41 +0100
committerLee Cannon <leecannon@leecannon.xyz>2021-11-30 23:32:47 +0000
commit1093b09a989edb8553e79b061bb15c5745f5d193 (patch)
tree4e87b6b48410b901239a102f5fbdf859816511d1 /lib/std/hash/benchmark.zig
parent75548b50ff23a3de48d166170425001c073d27c1 (diff)
downloadzig-1093b09a989edb8553e79b061bb15c5745f5d193.tar.gz
zig-1093b09a989edb8553e79b061bb15c5745f5d193.zip
allocgate: renamed getAllocator function to allocator
Diffstat (limited to 'lib/std/hash/benchmark.zig')
-rw-r--r--lib/std/hash/benchmark.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/hash/benchmark.zig b/lib/std/hash/benchmark.zig
index 5b278ca0b1..f6f1da1894 100644
--- a/lib/std/hash/benchmark.zig
+++ b/lib/std/hash/benchmark.zig
@@ -165,7 +165,7 @@ pub fn main() !void {
var buffer: [1024]u8 = undefined;
var fixed = std.heap.FixedBufferAllocator.init(buffer[0..]);
- const args = try std.process.argsAlloc(fixed.getAllocator());
+ const args = try std.process.argsAlloc(fixed.allocator());
var filter: ?[]u8 = "";
var count: usize = mode(128 * MiB);