fix build with -fno-elide-constructors
Linker is trying to find a copy constructor to injector::transaction::transaction ld.lld: error: undefined symbol: injector::transaction::transaction (injector::transaction const&) >>> referenced by rpl_injector.cc:164 >>> rpl_injector.cc.o:(injector::new_trans(THD*)) This constructor is declared, but is not implemented. Ok if copy elision is enabled, but causes error otherwise. Remove the constructor declaration, so that operator= will be used in reality.
This commit is contained in:
parent
24a4d4ab0c
commit
4de5161a70
@ -146,7 +146,6 @@ public:
|
||||
};
|
||||
|
||||
transaction() : m_thd(NULL) { }
|
||||
transaction(transaction const&);
|
||||
~transaction();
|
||||
|
||||
/* Clear transaction, i.e., make calls to 'good()' return false. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user