Skip to content

Commit 303dec9

Browse files
committed
odb: address clang-tidy for 3dblox
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 2c7e8b5 commit 303dec9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/odb/src/3dblox/3dblox.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <cstddef>
77
#include <filesystem>
88
#include <map>
9+
#include <set>
910
#include <sstream>
1011
#include <string>
1112
#include <vector>
@@ -453,6 +454,7 @@ void ThreeDBlox::readBMap(const std::string& bmap_file, bool create_bpins)
453454
BmapParser parser(logger_);
454455
BumpMapData data = parser.parseFile(bmap_file);
455456
std::vector<odb::dbInst*> bumps;
457+
bumps.reserve(data.entries.size());
456458
for (const auto& entry : data.entries) {
457459
bumps.push_back(createBump(entry, block));
458460
}

0 commit comments

Comments
 (0)