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:
Nik Bougalis
2016-01-18 21:20:08 -08:00
parent b4f8dc7abf
commit 555cd59a59
28 changed files with 39 additions and 49 deletions

View File

@@ -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 )