Cleanup unused Beast bits and pieces:

This cleanup does not remove Boost.Beast code, but old-style Beast
which is no longer relevant or helpful.
This commit is contained in:
Nik Bougalis
2018-09-11 19:07:33 -07:00
parent 58f786cbb4
commit 1682fe3a39
19 changed files with 3 additions and 746 deletions

View File

@@ -37,7 +37,6 @@
#include <ripple/protocol/BuildInfo.h>
#include <ripple/beast/clock/basic_seconds_clock.h>
#include <ripple/beast/core/CurrentThreadName.h>
#include <ripple/beast/utility/Debug.h>
#include <beast/unit_test/dstream.hpp>
#include <beast/unit_test/global_suites.hpp>
@@ -766,26 +765,6 @@ int main (int argc, char** argv)
"GCC version 5.1.0 or later is required to compile rippled.");
#endif
//
// These debug heap calls do nothing in release or non Visual Studio builds.
//
// Checks the heap at every allocation and deallocation (slow).
//
//beast::Debug::setAlwaysCheckHeap (false);
// Keeps freed memory blocks and fills them with a guard value.
//
//beast::Debug::setHeapDelayedFree (false);
// At exit, reports all memory blocks which have not been freed.
//
#if RIPPLE_DUMP_LEAKS_ON_EXIT
beast::Debug::setHeapReportLeaks (true);
#else
beast::Debug::setHeapReportLeaks (false);
#endif
atexit(&google::protobuf::ShutdownProtobufLibrary);
std::set_terminate(ripple::terminateHandler);