Fix compiler warnings
This commit is contained in:
parent
18e5d77b58
commit
847dc893c0
@ -140,7 +140,7 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
constexpr std::array<size_t, 5> SIZES = {0, 1, 1024, 4096, 10*1024*1024};
|
||||
constexpr std::array<size_t, 5> SIZES = {{0, 1, 1024, 4096, 10*1024*1024}};
|
||||
#define TYPED_TEST_P_FOR_ALL_SIZES(TestName) \
|
||||
TYPED_TEST_P(BlockStoreTest, TestName) { \
|
||||
for (auto size: SIZES) { \
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
int handle_exit_signal(char* argv[]) {
|
||||
void handle_exit_signal(char* argv[]) {
|
||||
const std::string kind = argv[1];
|
||||
if (kind == "exception") {
|
||||
throw std::logic_error(argv[2]);
|
||||
|
@ -63,7 +63,7 @@ public:
|
||||
|
||||
TYPED_TEST_CASE_P(CipherTest);
|
||||
|
||||
constexpr std::array<unsigned int, 7> SIZES = {0, 1, 100, 1024, 5000, 1048576, 20971520};
|
||||
constexpr std::array<unsigned int, 7> SIZES = {{0, 1, 100, 1024, 5000, 1048576, 20971520}};
|
||||
|
||||
TYPED_TEST_P(CipherTest, Size) {
|
||||
for (auto size: SIZES) {
|
||||
|
Loading…
Reference in New Issue
Block a user