You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-06-13 16:01:32 +03:00
clang format apply
This commit is contained in:
@ -16,18 +16,17 @@
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
/***********************************************************************
|
||||
* $Id: socketparms.cpp 3495 2013-01-21 14:09:51Z rdempsey $
|
||||
*
|
||||
*
|
||||
***********************************************************************/
|
||||
* $Id: socketparms.cpp 3495 2013-01-21 14:09:51Z rdempsey $
|
||||
*
|
||||
*
|
||||
***********************************************************************/
|
||||
|
||||
#include "socketparms.h"
|
||||
|
||||
namespace messageqcpp
|
||||
{
|
||||
|
||||
SocketParms::SocketParms(int domain, int type, int protocol) :
|
||||
fSd(-1), fDomain(domain), fType(type), fProtocol(protocol)
|
||||
SocketParms::SocketParms(int domain, int type, int protocol)
|
||||
: fSd(-1), fDomain(domain), fType(type), fProtocol(protocol)
|
||||
{
|
||||
}
|
||||
|
||||
@ -37,26 +36,25 @@ SocketParms::~SocketParms()
|
||||
|
||||
void SocketParms::doCopy(const SocketParms& rhs)
|
||||
{
|
||||
fSd = rhs.fSd;
|
||||
fDomain = rhs.fDomain;
|
||||
fType = rhs.fType;
|
||||
fProtocol = rhs.fProtocol;
|
||||
fSd = rhs.fSd;
|
||||
fDomain = rhs.fDomain;
|
||||
fType = rhs.fType;
|
||||
fProtocol = rhs.fProtocol;
|
||||
}
|
||||
|
||||
SocketParms::SocketParms(const SocketParms& rhs)
|
||||
{
|
||||
doCopy(rhs);
|
||||
doCopy(rhs);
|
||||
}
|
||||
|
||||
SocketParms& SocketParms::operator=(const SocketParms& rhs)
|
||||
{
|
||||
if (this != &rhs)
|
||||
{
|
||||
doCopy(rhs);
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
if (this != &rhs)
|
||||
{
|
||||
doCopy(rhs);
|
||||
}
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
} // namespace messageqcpp
|
||||
|
Reference in New Issue
Block a user