Use std::min
and std::max
, not the misc
versions.
This commit is contained in:
@ -363,7 +363,7 @@ int SelectionState::correctCharPos (DeepIterator *it, int charPos)
|
||||
else
|
||||
len = 1;
|
||||
|
||||
return misc::min(charPos, len);
|
||||
return std::min(charPos, len);
|
||||
}
|
||||
|
||||
void SelectionState::highlight0 (bool fl, DeepIterator *from, int fromChar,
|
||||
|
Reference in New Issue
Block a user