mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Fix call to labs.
..or as clang puts it: "error: no member named 'labs' in namespace 'std'; did you mean simply 'labs'?"
This commit is contained in:
parent
e7f6eff84b
commit
1e50562d8a
1 changed files with 1 additions and 1 deletions
|
|
@ -1000,7 +1000,7 @@ PTFFormat::parsemidi(void) {
|
||||||
region_t r = { std::string(""), ridx, 0, 0, 0, w, m};
|
region_t r = { std::string(""), ridx, 0, 0, 0, w, m};
|
||||||
if ((mregion = std::find(begin, finish, r)) != finish) {
|
if ((mregion = std::find(begin, finish, r)) != finish) {
|
||||||
mtr.reg = *mregion;
|
mtr.reg = *mregion;
|
||||||
mtr.reg.startpos = std::labs(region_pos - mtr.reg.startpos);
|
mtr.reg.startpos = labs(region_pos - mtr.reg.startpos);
|
||||||
miditracks.push_back(mtr);
|
miditracks.push_back(mtr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue