mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +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:
@@ -39,14 +39,14 @@ namespace beast
|
||||
|
||||
@see FileInputStream, FileOutputStream
|
||||
*/
|
||||
class BEAST_API RandomAccessFile : public Uncopyable, LeakChecked <RandomAccessFile>
|
||||
class RandomAccessFile : public Uncopyable, LeakChecked <RandomAccessFile>
|
||||
{
|
||||
public:
|
||||
/** The type of an FileOffset.
|
||||
|
||||
This can be useful when writing templates.
|
||||
*/
|
||||
typedef int64 FileOffset;
|
||||
typedef std::int64_t FileOffset;
|
||||
|
||||
/** The type of a byte count.
|
||||
|
||||
@@ -194,7 +194,7 @@ private:
|
||||
FileOffset currentPosition;
|
||||
};
|
||||
|
||||
} // namespace beast
|
||||
} // beast
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user