@@ -301,7 +301,7 @@ TEST(ObjectTest, StructWithMap) {
301
301
302
302
TEST (ObjectTest, StructWithSet) {
303
303
testset::struct_with<type::set<type::i64_t >> s;
304
- std::set<long > setValues = {1 , 2 , 3 };
304
+ std::set<std:: int64_t > setValues = {1 , 2 , 3 };
305
305
s.field_1_ref () = setValues;
306
306
Value value = asValueStruct<type::struct_c>(s);
307
307
ASSERT_EQ (value.getType (), Value::Type::objectValue);
@@ -471,7 +471,7 @@ TEST(ObjectTest, DirectlyAdaptedStruct) {
471
471
TEST (ObjectTest, parseObject) {
472
472
folly::IOBufQueue iobufQueue;
473
473
testset::struct_with<type::set<type::i64_t >> thriftStruct;
474
- std::set<long > setValues = {1 , 2 , 3 };
474
+ std::set<std:: int64_t > setValues = {1 , 2 , 3 };
475
475
thriftStruct.field_1_ref () = setValues;
476
476
BinarySerializer::serialize (thriftStruct, &iobufQueue);
477
477
auto serialized = iobufQueue.move ();
@@ -485,7 +485,7 @@ TEST(ObjectTest, parseObject) {
485
485
TEST (ObjectTest, serializeObject) {
486
486
folly::IOBufQueue iobufQueue;
487
487
testset::struct_with<type::set<type::i64_t >> thriftStruct;
488
- std::set<long > setValues = {1 , 2 , 3 };
488
+ std::set<std:: int64_t > setValues = {1 , 2 , 3 };
489
489
thriftStruct.field_1_ref () = setValues;
490
490
BinarySerializer::serialize (thriftStruct, &iobufQueue);
491
491
auto expected = iobufQueue.move ();
0 commit comments