mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add more clang tidy rules
Summary: changelog: [internal] Add more clang tidy rules to prevent common class of bugs. Reviewed By: javache Differential Revision: D39245194 fbshipit-source-id: 5521c5c4653d7005b96ebba494e810ba5075afbc
This commit is contained in:
committed by
Facebook GitHub Bot
parent
010cdcdc19
commit
ce50c43986
@@ -164,7 +164,7 @@ TEST(MapBufferTest, testMapListEntries) {
|
||||
mapBufferList.push_back(builder2.build());
|
||||
|
||||
auto builder3 = MapBufferBuilder();
|
||||
builder3.putMapBufferList(5, std::move(mapBufferList));
|
||||
builder3.putMapBufferList(5, mapBufferList);
|
||||
auto map = builder3.build();
|
||||
|
||||
std::vector<MapBuffer> mapBufferList2 = map.getMapBufferList(5);
|
||||
|
||||
Reference in New Issue
Block a user