mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Fix return value.
This commit is contained in:
parent
c8e5012642
commit
6fcdfa6ed2
@ -670,10 +670,10 @@ template < class T > struct SqVector
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Check if the elements from the container are sorted.
|
||||
*/
|
||||
void IsSorted()
|
||||
bool IsSorted()
|
||||
{
|
||||
Validate();
|
||||
std::is_sorted(mC->begin(), mC->end());
|
||||
return std::is_sorted(mC->begin(), mC->end());
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user