Fix compilation error in the header generic-interval.h
The header generic-interval.h uses std::clamp()
, so the standard header <algorithm>
should be included in order for the
header file to build on its own.
This MR fixes the following compilation error:
generic-interval.h: In member function ‘constexpr C Geom::GenericInterval< <template-parameter-1-1> >::clamp(C) const’:
generic-interval.h:104:21: error: ‘clamp’ is not a member of ‘std’
104 | return std::clamp(val, min(), max());
| ^~~~~