Merge pull request #136 from oshogbo:zstd_type
PiperOrigin-RevId: 439542219 Change-Id: Ie6bdff05b5aa50c6fccb0786b073240e72c4b215pull/162/head
commit
00fbfeb647
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include "contrib/c-blosc/sandboxed.h"
|
||||
|
||||
static const size_t kFileMaxSize = 1024 * 1024 * 1024; // 1GB
|
||||
constexpr size_t kFileMaxSize = 1024 * 1024 * 1024; // 1GB
|
||||
|
||||
std::streamsize GetStreamSize(std::ifstream& stream) {
|
||||
stream.seekg(0, std::ios_base::end);
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "contrib/zstd/sandboxed.h"
|
||||
|
||||
static const size_t kFileMaxSize = 1024 * 1024 * 1024; // 1GB
|
||||
constexpr size_t kFileMaxSize = 1024 * 1024 * 1024; // 1GB
|
||||
|
||||
std::streamsize GetStreamSize(std::ifstream& stream) {
|
||||
stream.seekg(0, std::ios_base::end);
|
||||
|
|
Loading…
Reference in New Issue