From: Carl Hetherington Date: Sun, 19 Jun 2022 20:53:12 +0000 (+0200) Subject: Cleanup: use constexpr. X-Git-Tag: v2.16.15~7 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=c26e79a3598ff1b36f800823f178a0829d0fa547;ds=sidebyside Cleanup: use constexpr. --- 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