mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix beast macro calls
This commit is contained in:
@@ -657,8 +657,8 @@ public:
|
|||||||
const bool deleteObjects = true)
|
const bool deleteObjects = true)
|
||||||
{
|
{
|
||||||
const ScopedLockType lock (getLock());
|
const ScopedLockType lock (getLock());
|
||||||
const int endIndex = jlimit (0, numUsed, startIndex + numberToRemove);
|
const int endIndex = blimit (0, numUsed, startIndex + numberToRemove);
|
||||||
startIndex = jlimit (0, numUsed, startIndex);
|
startIndex = blimit (0, numUsed, startIndex);
|
||||||
|
|
||||||
if (endIndex > startIndex)
|
if (endIndex > startIndex)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -621,8 +621,8 @@ public:
|
|||||||
{
|
{
|
||||||
const ScopedLockType lock (getLock());
|
const ScopedLockType lock (getLock());
|
||||||
|
|
||||||
const int start = jlimit (0, numUsed, startIndex);
|
const int start = blimit (0, numUsed, startIndex);
|
||||||
const int endIndex = jlimit (0, numUsed, startIndex + numberToRemove);
|
const int endIndex = blimit (0, numUsed, startIndex + numberToRemove);
|
||||||
|
|
||||||
if (endIndex > start)
|
if (endIndex > start)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ void findMinAndMax (const Type* values, int numValues, Type& lowest, Type& highe
|
|||||||
@param valueToConstrain the value to try to return
|
@param valueToConstrain the value to try to return
|
||||||
@returns the closest value to valueToConstrain which lies between lowerLimit
|
@returns the closest value to valueToConstrain which lies between lowerLimit
|
||||||
and upperLimit (inclusive)
|
and upperLimit (inclusive)
|
||||||
@see jlimit0To, bmin, bmax
|
@see blimit0To, bmin, bmax
|
||||||
*/
|
*/
|
||||||
template <typename Type>
|
template <typename Type>
|
||||||
inline Type blimit (const Type lowerLimit,
|
inline Type blimit (const Type lowerLimit,
|
||||||
|
|||||||
Reference in New Issue
Block a user