projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: use constexpr.
[dcpomatic.git]
/
src
/
lib
/
ext.cc
diff --git
a/src/lib/ext.cc
b/src/lib/ext.cc
index 7853984cf28e2b4ff123078fe02dccae39c03eaf..96753eca4927bc78a4d19fe7f6fc729e1a06f9af 100644
(file)
--- a/
src/lib/ext.cc
+++ b/
src/lib/ext.cc
@@
-27,6
+27,7
@@
#include "exceptions.h"
#include "ext.h"
#include "nanomsg.h"
#include "exceptions.h"
#include "ext.h"
#include "nanomsg.h"
+#include <dcp/file.h>
#ifdef DCPOMATIC_LINUX
#include <linux/fs.h>
#ifdef DCPOMATIC_LINUX
#include <linux/fs.h>
@@
-72,7
+73,7
@@
using std::vector;
/* Use quite a big block size here, as ext4's fwrite() has quite a bit of overhead */
/* 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
static