mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-31 18:24:25 +03:00
Define undefined id and gtid as const static member variables.
Use default seqno and id constructors in default gtid ctor instead of calls to static undefined to initialize.
This commit is contained in:
@ -24,6 +24,8 @@
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
|
||||
const wsrep::id wsrep::id::undefined_ = wsrep::id();
|
||||
|
||||
wsrep::id::id(const std::string& str)
|
||||
: data_()
|
||||
{
|
||||
|
Reference in New Issue
Block a user