mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
beast cleanup and tidying:
* Replace custom types with C++11 <cstdint> types * Fix sqlite integer intos and uses * Fix String implicit integer constructors * Escape the enclosing namespace in sqdb * Replace contract checks with assert * Make many header files compile independently * Remove the dependence on beast_core.h in many places * Remove unused or obsolete classes and functions * Remove unused or obsolete macros * Remove unused network functions and files * Remove unused or obsolete classes: - ChildProcess - HighResolutionTimer - InterProcessLock - Throw - TrackedMutex - UntrackedMutex - XmlDocument - XmlElement
This commit is contained in:
@@ -27,9 +27,10 @@
|
||||
#include <limits>
|
||||
|
||||
#include "../Config.h"
|
||||
#include "../CStdInt.h"
|
||||
#include "../Memory.h"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace beast {
|
||||
|
||||
//==============================================================================
|
||||
@@ -50,7 +51,7 @@ namespace beast {
|
||||
/** A platform-independent 32-bit unicode character type. */
|
||||
typedef wchar_t beast_wchar;
|
||||
#else
|
||||
typedef uint32 beast_wchar;
|
||||
typedef std::uint32_t beast_wchar;
|
||||
#endif
|
||||
|
||||
#ifndef DOXYGEN
|
||||
@@ -78,7 +79,7 @@ namespace beast {
|
||||
|
||||
@see String, CharPointer_UTF8, CharPointer_UTF16, CharPointer_UTF32
|
||||
*/
|
||||
class BEAST_API CharacterFunctions
|
||||
class CharacterFunctions
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
|
||||
Reference in New Issue
Block a user