constexpr fix for Windows
This commit is contained in:
parent
93ed589bf4
commit
2348396ad9
@ -9,9 +9,9 @@ using namespace fspp::fuse;
|
||||
|
||||
class FuseReadOverflowTest: public FuseReadTest {
|
||||
public:
|
||||
const size_t FILESIZE = 1000;
|
||||
const size_t READSIZE = 2000;
|
||||
const size_t OFFSET = 500;
|
||||
static constexpr size_t FILESIZE = 1000;
|
||||
static constexpr size_t READSIZE = 2000;
|
||||
static constexpr size_t OFFSET = 500;
|
||||
|
||||
void SetUp() override {
|
||||
ReturnIsFileOnLstatWithSize(FILENAME, FILESIZE);
|
||||
@ -20,6 +20,10 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
constexpr size_t FuseReadOverflowTest::FILESIZE;
|
||||
constexpr size_t FuseReadOverflowTest::READSIZE;
|
||||
constexpr size_t FuseReadOverflowTest::OFFSET;
|
||||
|
||||
|
||||
TEST_F(FuseReadOverflowTest, ReadMoreThanFileSizeFromBeginning) {
|
||||
char buf[READSIZE];
|
||||
|
Loading…
Reference in New Issue
Block a user