mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add beast SConstruct and .travis.yml
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#ifndef BEAST_NET_DYNAMICBUFFER_H_INCLUDED
|
||||
#define BEAST_NET_DYNAMICBUFFER_H_INCLUDED
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace beast {
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <ios>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <typeinfo>
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -25,7 +25,8 @@
|
||||
#include "../detail/Parse.h"
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
namespace beast {
|
||||
namespace IP {
|
||||
|
||||
@@ -95,7 +96,7 @@ AddressV4::Proxy <true> AddressV4::operator[] (std::size_t index) const
|
||||
switch (index)
|
||||
{
|
||||
default:
|
||||
bassertfalse;
|
||||
throw std::out_of_range ("bad array index");
|
||||
case 0: return Proxy <true> (24, &value);
|
||||
case 1: return Proxy <true> (16, &value);
|
||||
case 2: return Proxy <true> ( 8, &value);
|
||||
@@ -108,7 +109,7 @@ AddressV4::Proxy <false> AddressV4::operator[] (std::size_t index)
|
||||
switch (index)
|
||||
{
|
||||
default:
|
||||
bassertfalse;
|
||||
throw std::out_of_range ("bad array index");
|
||||
case 0: return Proxy <false> (24, &value);
|
||||
case 1: return Proxy <false> (16, &value);
|
||||
case 2: return Proxy <false> ( 8, &value);
|
||||
|
||||
@@ -31,35 +31,35 @@ namespace IP {
|
||||
bool is_loopback (AddressV6 const&)
|
||||
{
|
||||
// VFALCO TODO
|
||||
bassertfalse;
|
||||
assert(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool is_unspecified (AddressV6 const&)
|
||||
{
|
||||
// VFALCO TODO
|
||||
bassertfalse;
|
||||
assert(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool is_multicast (AddressV6 const&)
|
||||
{
|
||||
// VFALCO TODO
|
||||
bassertfalse;
|
||||
assert(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool is_private (AddressV6 const&)
|
||||
{
|
||||
// VFALCO TODO
|
||||
bassertfalse;
|
||||
assert(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool is_public (AddressV6 const&)
|
||||
{
|
||||
// VFALCO TODO
|
||||
bassertfalse;
|
||||
assert(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -68,14 +68,14 @@ bool is_public (AddressV6 const&)
|
||||
std::string to_string (AddressV6 const&)
|
||||
{
|
||||
// VFALCO TODO
|
||||
bassertfalse;
|
||||
assert(false);
|
||||
return "";
|
||||
}
|
||||
|
||||
std::istream& operator>> (std::istream& is, AddressV6&)
|
||||
{
|
||||
// VFALCO TODO
|
||||
bassertfalse;
|
||||
assert(false);
|
||||
return is;
|
||||
}
|
||||
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
// MODULES: ../impl/IPEndpoint.cpp ../impl/IPAddressV4.cpp ../impl/IPAddressV6.cpp
|
||||
|
||||
#if BEAST_INCLUDE_BEASTCONFIG
|
||||
#include "../../BeastConfig.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user