From c26e79a3598ff1b36f800823f178a0829d0fa547 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 19 Jun 2022 22:53:12 +0200 Subject: [PATCH] Cleanup: use constexpr. --- src/lib/ext.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ext.cc b/src/lib/ext.cc index 81a0edefe..96753eca4 100644 --- a/src/lib/ext.cc +++ b/src/lib/ext.cc @@ -73,7 +73,7 @@ using std::vector; /* Use quite a big block size here, as ext4's fwrite() has quite a bit of overhead */ -static uint64_t const block_size = 4096 * 4096; +uint64_t constexpr block_size = 4096 * 4096; static -- 2.30.2