Skip to content

Commit c0d306e

Browse files
committed
cppcheck fix.
1 parent f0854ed commit c0d306e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alg/viewshed/viewshed_executor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ struct Lines
4545

4646
/// Constructor that initializes to line length
4747
/// \param lineLen Line length.
48-
Lines(size_t lineLen) : cur(lineLen), result(lineLen)
48+
explicit Lines(size_t lineLen) : cur(lineLen), result(lineLen)
4949
{
5050
}
5151
};

0 commit comments

Comments
 (0)