mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Cleanups:
* Reduce Beast dependencies * Remove unnecessary includes * Don't use deprecated bassert macros * Don't use beast::String in Json::Value
This commit is contained in:
@@ -276,15 +276,6 @@ Value::Value ( std::string const& value )
|
||||
|
||||
}
|
||||
|
||||
Value::Value (beast::String const& beastString)
|
||||
: type_ ( stringValue )
|
||||
, allocated_ ( true )
|
||||
{
|
||||
value_.string_ = valueAllocator ()->duplicateStringValue ( beastString.toStdString ().c_str (),
|
||||
(unsigned int)beastString.length () );
|
||||
|
||||
}
|
||||
|
||||
Value::Value ( const StaticString& value )
|
||||
: type_ ( stringValue )
|
||||
, allocated_ ( false )
|
||||
|
||||
Reference in New Issue
Block a user