More cleanup, and fix a bug in Multicaster::gather()
This commit is contained in:
parent
22d8aa4dc9
commit
5484cf4309
5 changed files with 17 additions and 22 deletions
|
@ -203,7 +203,7 @@ public:
|
|||
throw(std::out_of_range)
|
||||
{
|
||||
if ((i + sizeof(T)) > _l)
|
||||
throw std::out_of_range("Buffer: set() beyond end of data");
|
||||
throw std::out_of_range("Buffer: setAt() beyond end of data");
|
||||
T *const ZT_VAR_MAY_ALIAS p = reinterpret_cast<T *>(_b + i);
|
||||
*p = Utils::hton(v);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue