Merge pull request #136 from oshogbo:zstd_type

PiperOrigin-RevId: 439542219
Change-Id: Ie6bdff05b5aa50c6fccb0786b073240e72c4b215
pull/162/head
Copybara-Service 2022-04-05 04:24:50 -07:00
commit 00fbfeb647
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);