mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
MDEV-9527 build FAILs with GCC 5.1 with release supported "-std=c+11"
10.0 part of the fix
This commit is contained in:
@@ -1036,11 +1036,11 @@ int stack_cursor::fetch_row(const row &row_info, row &result,
|
||||
optional<EdgeWeight> w;
|
||||
optional<Vertex> v;
|
||||
result= row_info;
|
||||
if ((result.seq_indicator= seq= last.sequence()))
|
||||
if ((result.seq_indicator= static_cast<bool>(seq= last.sequence())))
|
||||
result.seq= *seq;
|
||||
if ((result.link_indicator= v= last.vertex()))
|
||||
if ((result.link_indicator= static_cast<bool>(v= last.vertex())))
|
||||
result.link= get(boost::vertex_index, share->g, *v);
|
||||
if ((result.weight_indicator= w= last.weight()))
|
||||
if ((result.weight_indicator= static_cast<bool>(w= last.weight())))
|
||||
result.weight= *w;
|
||||
return oqgraph::OK;
|
||||
}
|
||||
|
Reference in New Issue
Block a user