Skip to content

Commit 520c1fe

Browse files
committed
clang-formattted
1 parent 9cda644 commit 520c1fe

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

benchmark.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ enum class ThriftSerializationProto { Binary, Compact };
3434
void
3535
thrift_serialization_test(size_t iterations, ThriftSerializationProto proto = ThriftSerializationProto::Binary)
3636
{
37-
using apache::thrift::transport::TMemoryBuffer;
3837
using apache::thrift::protocol::TBinaryProtocol;
39-
using apache::thrift::protocol::TCompactProtocol;
4038
using apache::thrift::protocol::TBinaryProtocolT;
39+
using apache::thrift::protocol::TCompactProtocol;
4140
using apache::thrift::protocol::TCompactProtocolT;
41+
using apache::thrift::transport::TMemoryBuffer;
4242

4343
using namespace thrift_test;
4444

data.hpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
#include <vector>
55
#include <stdint.h>
66

7-
const size_t kStringsCount = 100;
8-
const std::string kStringValue = "shgfkghsdfjhgsfjhfgjhfgjsffghgsfdhgsfdfkdjhfioukjhkfdljgdfkgvjafdhasgdfwurtjkghfsdjkfg";
7+
const size_t kStringsCount = 100;
8+
const std::string kStringValue = "shgfkghsdfjhgsfjhfgjhfgjsffghgsfdhgsfdfkdjhfioukjhkfdljgdfkgvjafdhasgdfwurtjkghfsdjkfg";
99

10+
// clang-format off
1011
const std::vector<int64_t> kIntegers = {
1112
-7363025924956902506, 433747491, -1063289711,
1213
-3099617426797642053, -10, -28373,
@@ -343,5 +344,6 @@ const std::vector<int64_t> kIntegers = {
343344
-10440, -33, -18991,
344345
-102
345346
};
347+
// clang-format on
346348

347349
#endif

0 commit comments

Comments
 (0)