mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Merge pull request #5513
856e862namespace: drop most boost namespaces and a few header cleanups (Cory Fields)9b1ab86namespace: drop boost::assign altogether here (Cory Fields)a324199namespace: remove boost namespace pollution (Cory Fields)
This commit is contained in:
commit
729ba31749
20 changed files with 90 additions and 128 deletions
|
|
@ -29,7 +29,6 @@
|
|||
#include <boost/filesystem/fstream.hpp>
|
||||
#include <boost/thread.hpp>
|
||||
|
||||
using namespace boost;
|
||||
using namespace std;
|
||||
|
||||
#if defined(NDEBUG)
|
||||
|
|
@ -2789,7 +2788,7 @@ bool AbortNode(const std::string &strMessage, const std::string &userMessage) {
|
|||
|
||||
bool CheckDiskSpace(uint64_t nAdditionalBytes)
|
||||
{
|
||||
uint64_t nFreeBytesAvailable = filesystem::space(GetDataDir()).available;
|
||||
uint64_t nFreeBytesAvailable = boost::filesystem::space(GetDataDir()).available;
|
||||
|
||||
// Check for nMinDiskSpace bytes (currently 50MB)
|
||||
if (nFreeBytesAvailable < nMinDiskSpace + nAdditionalBytes)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue