Remove defaultValue where not needed
This commit is contained in:
Klaus Basan
2016-06-08 16:46:03 +02:00
parent d44cacd97d
commit 2a99bed0cd
8 changed files with 2 additions and 138 deletions

View File

@@ -30,14 +30,9 @@ namespace BlackCore
//! First load is synchronous
static constexpr bool isPinned() { return true; }
//! Default value
static const BlackMisc::Network::CAuthenticatedUser &defaultValue()
{
static const BlackMisc::Network::CAuthenticatedUser user;
return user;
}
//! Cache lifetime
static int timeToLive() { return 18 * 60 * 60 * 1000; }
};
} // ns
} // ns