mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
workaround for freebsd/clang/libc++ build issues
Rather than relying on set's constructor from {}, explicitly construct the set.
This commit is contained in:
parent
e3d416a6ea
commit
e9cfbae68f
@ -881,7 +881,7 @@ namespace {
|
||||
class OutfixAllReports : public boost::static_visitor<set<ReportID>> {
|
||||
public:
|
||||
set<ReportID> operator()(const boost::blank &) const {
|
||||
return {};
|
||||
return set<ReportID>();
|
||||
}
|
||||
|
||||
template<class T>
|
||||
|
@ -1234,7 +1234,8 @@ bool attemptRoseGraphMerge(RoseBuildImpl &build, bool preds_same, RoseVertex a,
|
||||
ReportID new_report = build.getNewNfaReport();
|
||||
shared_ptr<NGHolder> new_graph = cloneHolder(*b_h);
|
||||
duplicateReport(*new_graph, b_left.leftfix_report, new_report);
|
||||
pruneReportIfUnused(build, new_graph, {}, b_left.leftfix_report);
|
||||
pruneReportIfUnused(build, new_graph, set<RoseVertex>(),
|
||||
b_left.leftfix_report);
|
||||
|
||||
rai.rev_leftfix[a_left_id].erase(a);
|
||||
rai.rev_leftfix[b_left_id].erase(b);
|
||||
|
Loading…
x
Reference in New Issue
Block a user