Skip to content

Commit ddc8c9f

Browse files
ahcordescpeters
authored andcommitted
Fixed warning SDFfeatures_TEST - dartsim (#370)
Signed-off-by: ahcorde <ahcorde@gmail.com> (cherry picked from commit a4f04c6)
1 parent ec6db3c commit ddc8c9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dartsim/src/SDFFeatures_TEST.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ WorldPtr LoadWorldWhole(const std::string &_world)
104104
sdf::Root root;
105105
const sdf::Errors &errors = root.Load(_world);
106106
EXPECT_EQ(0u, errors.size());
107-
for (const auto error : errors) {
107+
for (const auto & error : errors) {
108108
std::cout << error << std::endl;
109109
}
110110

0 commit comments

Comments
 (0)