Apply clang-format

This commit is contained in:
Martchus 2018-03-20 20:11:31 +01:00
parent fbd43b86e9
commit d80cb7233a
14 changed files with 16 additions and 16 deletions

View File

@ -20,4 +20,4 @@ CryptoException::CryptoException(const std::string &openSslErrorQueue) noexcept
CryptoException::~CryptoException() noexcept
{
}
}
} // namespace Io

View File

@ -13,6 +13,6 @@ public:
CryptoException(const std::string &openSslErrorQueue) noexcept;
~CryptoException() noexcept;
};
}
} // namespace Io
#endif // CRYPTOFAILUREEXCEPTION_H

View File

@ -451,4 +451,4 @@ AccountEntry *AccountEntry::clone() const
{
return new AccountEntry(*this);
}
}
} // namespace Io

View File

@ -174,6 +174,6 @@ inline std::vector<Field> &AccountEntry::fields()
{
return m_fields;
}
}
} // namespace Io
#endif // ENTRY_H

View File

@ -72,4 +72,4 @@ void Field::make(ostream &stream) const
writer.writeString(m_extendedData);
}
}
}
} // namespace Io

View File

@ -109,6 +109,6 @@ inline bool Field::isValidType(int number)
{
return number >= 0 && number <= 1;
}
}
} // namespace Io
#endif // FIELD_H

View File

@ -21,4 +21,4 @@ ParsingException::ParsingException(const std::string &message) noexcept
ParsingException::~ParsingException() noexcept
{
}
}
} // namespace Io

View File

@ -13,6 +13,6 @@ public:
ParsingException(const std::string &message = std::string()) noexcept;
~ParsingException() noexcept;
};
}
} // namespace Io
#endif // PARSINGEXCEPTION_H

View File

@ -570,4 +570,4 @@ size_t PasswordFile::size()
m_file.seekg(0, ios::end);
return m_file.tellg();
}
}
} // namespace Io

View File

@ -54,6 +54,6 @@ private:
IoUtilities::BinaryReader m_freader;
IoUtilities::BinaryWriter m_fwriter;
};
}
} // namespace Io
#endif // PASSWORDFILE_H

View File

@ -35,5 +35,5 @@ void clean()
// remove error strings
ERR_free_strings();
}
}
}
} // namespace OpenSsl
} // namespace Util

View File

@ -9,7 +9,7 @@ namespace OpenSsl {
void PASSWORD_FILE_EXPORT init();
void PASSWORD_FILE_EXPORT clean();
}
}
} // namespace OpenSsl
} // namespace Util
#endif // OPENSSL_H

View File

@ -59,4 +59,4 @@ bool OpenSslRandomDevice::status() const
{
return RAND_status();
}
}
} // namespace Util

View File

@ -13,6 +13,6 @@ public:
uint32 operator()() const;
bool status() const;
};
}
} // namespace Util
#endif // OPENSSLRANDOMDEVICE_H