Commit 4b0101b
Benjamin Chrétien
Fix clang error.
roboptim-core/tests/simple.cc:112:17: error: reference cannot be bound
to dereferenced null pointer in well-defined C++ code; comparison may
be assumed to always evaluate to true [-Werror,-Wtautological-undefined-compare]
BOOST_CHECK (&pb.constraints ()[0] != 0);1 parent 2fc46d0 commit 4b0101b
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
| |||
0 commit comments