1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-31 18:24:25 +03:00

Removed wsrep_api.h dependency from view.hpp

This commit is contained in:
Teemu Ollakka
2018-06-18 20:39:25 +03:00
parent 60fb119fa1
commit d1a1e298e9
9 changed files with 151 additions and 86 deletions

12
src/gtid.cpp Normal file
View File

@ -0,0 +1,12 @@
//
// Copyright (C) 2018 Codership Oy <info@codership.com>
//
#include "wsrep/gtid.hpp"
#include <iostream>
std::ostream& wsrep::operator<<(std::ostream& os, const wsrep::gtid& gtid)
{
return (os << gtid.id() << ":" << gtid.seqno());
}