C++11: constexpr replacing defines. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-08-16 14:19:12 -04:00
parent ac04e85a1c
commit d75a8624c1
13 changed files with 22 additions and 40 deletions
+2 -2
View File
@@ -56,8 +56,8 @@
// If change this code, run a test with the below size set very small
//#define INFILTER_IPC_BUFSIZ 16
#define INFILTER_IPC_BUFSIZ (64 * 1024) // For debug, try this as a small number
#define INFILTER_CACHE_MAX (64 * 1024) // Maximum bytes to cache if same file read twice
constexpr int INFILTER_IPC_BUFSIZ = (64 * 1024); // For debug, try this as a small number
constexpr int INFILTER_CACHE_MAX = (64 * 1024); // Maximum bytes to cache if same file read twice
//######################################################################
// V3File Internal state