Cleanup: use constexpr.
authorCarl Hetherington <cth@carlh.net>
Sun, 19 Jun 2022 20:53:12 +0000 (22:53 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 21 Jun 2022 16:55:16 +0000 (18:55 +0200)
src/lib/ext.cc

index 81a0edefef8ff1738f030241c9da28d74094c815..96753eca4927bc78a4d19fe7f6fc729e1a06f9af 100644 (file)
@@ -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