Skip to content

Commit 426fa8e

Browse files
nolint on the other dataset string concatenation
1 parent 9f475b6 commit 426fa8e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example/dataset.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ std::vector<dataset_element<Scalar>> load_dataset(const std::string& path) {
5757
element.number = file.substr(4, 7);
5858

5959
// NOLINTNEXTLINE(performance-inefficient-string-concatenation) Performance doesn't matter here
60-
element.image = cv::imread(path + "/image" + element.number + ".jpg");
60+
element.image = cv::imread(path + "/image" + element.number + ".jpg");
61+
// NOLINTNEXTLINE(performance-inefficient-string-concatenation) Performance doesn't matter here
6162
YAML::Node lens = YAML::LoadFile(path + "/" + file);
6263
std::string projection = lens["projection"].as<std::string>();
6364

0 commit comments

Comments
 (0)