Remove unwanted move constructor

This commit is contained in:
Matthew Barr 2017-06-16 16:06:52 +10:00
parent b8753e3daf
commit d33dcc0534

View File

@ -1735,8 +1735,6 @@ namespace {
struct SomRevNfa { struct SomRevNfa {
SomRevNfa(NFAVertex s, ReportID r, bytecode_ptr<NFA> n) SomRevNfa(NFAVertex s, ReportID r, bytecode_ptr<NFA> n)
: sink(s), report(r), nfa(move(n)) {} : sink(s), report(r), nfa(move(n)) {}
SomRevNfa(SomRevNfa &&s) // MSVC2013 needs this for emplace
: sink(s.sink), report(s.report), nfa(move(s.nfa)) {}
NFAVertex sink; NFAVertex sink;
ReportID report; ReportID report;
bytecode_ptr<NFA> nfa; bytecode_ptr<NFA> nfa;