Style fixes.

This commit is contained in:
Adrien Destugues
2014-09-16 21:39:53 +02:00
parent 804876f698
commit 7603710e9a
+25 -25
View File
@@ -87,13 +87,13 @@ BUrl::BUrl(const BUrl& other)
fHasFragment(other.fHasFragment) fHasFragment(other.fHasFragment)
{ {
if (fUrlStringValid) if (fUrlStringValid)
fUrlString = other.fUrlString; fUrlString = other.fUrlString;
if (fAuthorityValid) if (fAuthorityValid)
fAuthority = other.fAuthority; fAuthority = other.fAuthority;
if (fUserInfoValid) if (fUserInfoValid)
fUserInfo = other.fUserInfo; fUserInfo = other.fUserInfo;
} }
@@ -731,35 +731,35 @@ BUrl::operator!=(BUrl& other) const
const BUrl& const BUrl&
BUrl::operator=(const BUrl& other) BUrl::operator=(const BUrl& other)
{ {
fUrlStringValid = other.fUrlStringValid; fUrlStringValid = other.fUrlStringValid;
if (fUrlStringValid) if (fUrlStringValid)
fUrlString = other.fUrlString; fUrlString = other.fUrlString;
fAuthorityValid = other.fAuthorityValid; fAuthorityValid = other.fAuthorityValid;
if (fAuthorityValid) if (fAuthorityValid)
fAuthority = other.fAuthority; fAuthority = other.fAuthority;
fUserInfoValid = other.fUserInfoValid; fUserInfoValid = other.fUserInfoValid;
if (fUserInfoValid) if (fUserInfoValid)
fUserInfo = other.fUserInfo; fUserInfo = other.fUserInfo;
fProtocol = other.fProtocol; fProtocol = other.fProtocol;
fUser = other.fUser; fUser = other.fUser;
fPassword = other.fPassword; fPassword = other.fPassword;
fHost = other.fHost; fHost = other.fHost;
fPort = other.fPort; fPort = other.fPort;
fPath = other.fPath; fPath = other.fPath;
fRequest = other.fRequest; fRequest = other.fRequest;
fFragment = other.fFragment; fFragment = other.fFragment;
fHasProtocol = other.fHasProtocol; fHasProtocol = other.fHasProtocol;
fHasUserName = other.fHasUserName; fHasUserName = other.fHasUserName;
fHasPassword = other.fHasPassword; fHasPassword = other.fHasPassword;
fHasHost = other.fHasHost; fHasHost = other.fHasHost;
fHasPort = other.fHasPort; fHasPort = other.fHasPort;
fHasPath = other.fHasPath; fHasPath = other.fHasPath;
fHasRequest = other.fHasRequest; fHasRequest = other.fHasRequest;
fHasFragment = other.fHasFragment; fHasFragment = other.fHasFragment;
return *this; return *this;
} }