#include "international.hh"
-using std::vector;
-
Skyline_pair::Skyline_pair ()
: skylines_ (Skyline (DOWN), Skyline (UP))
{
Real
Skyline_pair::left () const
{
- return std::min (skylines_[UP].left (), skylines_[DOWN].left ());
+ return min (skylines_[UP].left (), skylines_[DOWN].left ());
}
Real
Skyline_pair::right () const
{
- return std::max (skylines_[UP].right (), skylines_[DOWN].right ());
+ return max (skylines_[UP].right (), skylines_[DOWN].right ());
}
void
return skylines_[d];
}
-const char Skyline_pair::type_p_name_[] = "ly:skyline-pair?";
+const char * const Skyline_pair::type_p_name_ = "ly:skyline-pair?";
MAKE_SCHEME_CALLBACK (Skyline_pair, skyline, 2);