Skip to content

Commit 6991a82

Browse files
authored
Update test_graph.cpp
1 parent b5b9aaa commit 6991a82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/graph/test_graph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ TEST(graph, edges_out_of_range) {
374374
graph.makeConnection(fcLayer2, fcLayer3);
375375
graph.makeConnection(fcLayer, fcLayer4);
376376
graph.setOutput(fcLayer4, output);
377-
ASSERT_ANY_THROW(graph.getEdgeValue(999));
377+
ASSERT_ANY_THROW(static_cast<void>(graph.getEdgeValue(999)));
378378
}
379379

380380
TEST(graph, inputs_out_of_range) {

0 commit comments

Comments
 (0)