* fix compilation warnings

This commit is contained in:
hagen 2016-06-01 00:00:00 +00:00
parent f62d25fa5f
commit 1b2ac38a50
12 changed files with 13 additions and 15 deletions

View file

@ -159,7 +159,7 @@ namespace client
int AddressBookFilesystemStorage::Save (const std::map<std::string, i2p::data::IdentHash>& addresses)
{
if (addresses.size() == 0) {
if (addresses.empty()) {
LogPrint(eLogWarning, "Addressbook: not saving empty addressbook");
return 0;
}