Skip to content

Commit

Permalink
add wto_vertex_data_t constructors to make linux compiler happy
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
  • Loading branch information
dthaler authored and elazarg committed Oct 23, 2021
1 parent aa94481 commit 8760bdf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/crab/wto.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ struct wto_vertex_data_t {
int dfn;
int head_dfn; // Head value returned from Visit() in the paper.
std::shared_ptr<wto_cycle_t> containing_cycle;

wto_vertex_data_t() : dfn(0), head_dfn(0){};
wto_vertex_data_t(int d) : dfn(d), head_dfn(0) {};
};
#endif

Expand Down

0 comments on commit 8760bdf

Please sign in to comment.