General tidy and refactoring:

* Use nullptr (C++11) instead of NULL.
* Put each file into its own namespace declaration.
* Remove "using namespace" directives and add scope qualifiers.
* Control when beast's implementation of std::equal (C++14) is used.
* Tidy up some const declarations.

Conflicts:
	src/ripple_app/shamap/SHAMapSync.cpp
	src/ripple_app/tx/TransactionEngine.cpp
This commit is contained in:
Howard Hinnant authored and Vinnie Falco committed 2014-03-19 13:42:01 -07:00
1 parent 78ec5ccdbc
commit d580e7c694
175 files changed
+834 -20

No files matched your search

+5
View File
@@ -21,6 +21,9 @@
*/
//==============================================================================
namespace beast
{
namespace TimeHelpers
{
static struct tm millisToLocal (const int64 millis) noexcept
@@ -439,3 +442,5 @@ bool operator< (Time time1, Time time2) { return time1.toMilliseconds() <
bool operator> (Time time1, Time time2) { return time1.toMilliseconds() > time2.toMilliseconds(); }
bool operator<= (Time time1, Time time2) { return time1.toMilliseconds() <= time2.toMilliseconds(); }
bool operator>= (Time time1, Time time2) { return time1.toMilliseconds() >= time2.toMilliseconds(); }
} // namespace beast