mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +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:
@@ -28,7 +28,7 @@ URL::URL ()
|
||||
URL::URL (
|
||||
String scheme_,
|
||||
String host_,
|
||||
uint16 port_,
|
||||
std::uint16_t port_,
|
||||
String port_string_,
|
||||
String path_,
|
||||
String query_,
|
||||
@@ -92,7 +92,7 @@ String URL::port_string () const
|
||||
return m_port_string;
|
||||
}
|
||||
|
||||
uint16 URL::port () const
|
||||
std::uint16_t URL::port () const
|
||||
{
|
||||
return m_port;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user