1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-15 15:41:49 +03:00

Fixed compilation errors picked up by travis clang builds

This commit is contained in:
Teemu Ollakka
2019-01-19 18:08:49 +02:00
parent 869a706fa1
commit ae734a33f8
11 changed files with 38 additions and 30 deletions

View File

@ -249,8 +249,7 @@ namespace
{
public:
const_ws_meta(const wsrep::ws_meta& ws_meta)
: ws_meta_(ws_meta)
, trx_meta_()
: trx_meta_()
{
std::memcpy(trx_meta_.gtid.uuid.data, ws_meta.group_id().data(),
sizeof(trx_meta_.gtid.uuid.data));
@ -268,7 +267,6 @@ namespace
const wsrep_trx_meta* native() const { return &trx_meta_; }
private:
const wsrep::ws_meta& ws_meta_;
wsrep_trx_meta_t trx_meta_;
};